Bumped style-loader to v1.0.0. Aligned the webpack config to the new loader API.

parent b6aaed37
......@@ -54,7 +54,7 @@
"lint-staged": "^7.0.0",
"postcss-loader": "^3.0.0",
"raw-loader": "^1.0.0",
"style-loader": "^0.23.0",
"style-loader": "^1.0.0",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.15.0",
"webpack-cli": "^3.0.8"
......
......@@ -68,7 +68,7 @@ module.exports = {
{
loader: 'style-loader',
options: {
singleton: true
injectType: 'singletonStyleTag'
}
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment