Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit 133be03

Browse files
authored
Merge pull request #72 from nolanlawson/fix-style-loader
Explicitly load style-loader/css-loader deps
2 parents 727a76e + ca51372 commit 133be03

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

webpack/config.js

+7-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ module.exports = {
66
client: {
77
entry: () => {
88
return {
9-
main: entry.client
9+
main: [
10+
entry.client,
11+
// workaround for https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/456
12+
'style-loader/lib/addStyles',
13+
'css-loader/lib/css-base'
14+
]
1015
};
1116
},
1217

@@ -36,4 +41,4 @@ module.exports = {
3641
};
3742
}
3843
}
39-
};
44+
};

0 commit comments

Comments
 (0)