- Installed style-loader and css-loader - Configured webpack.config to use both loaders on css files - Remember the order we use them in webpack.config matters
20 lines
371 B
JSON
20 lines
371 B
JSON
{
|
|
"name": "code",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "webpack --config webpack.config.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"css-loader": "^2.1.0",
|
|
"style-loader": "^0.23.1",
|
|
"webpack": "^4.29.6",
|
|
"webpack-cli": "^3.2.3"
|
|
}
|
|
}
|