Explicitly load style-loader/css-loader deps

This appears to fix sveltejs/sapper-template#27
This commit is contained in:
Nolan Lawson
2018-01-06 17:21:40 -08:00
parent ee94f355d5
commit ca51372150

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 = {
};
}
}
};
};