Merge pull request #72 from nolanlawson/fix-style-loader

Explicitly load style-loader/css-loader deps
This commit is contained in:
Rich Harris
2018-01-13 23:33:38 -05:00
committed by GitHub

View File

@@ -6,7 +6,12 @@ module.exports = {
client: {
entry: () => {
return {
main: entry.client
main: [
entry.client,
// workaround for https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/456
'style-loader/lib/addStyles',
'css-loader/lib/css-base'
]
};
},
@@ -36,4 +41,4 @@ module.exports = {
};
}
}
};
};