We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da3e6af + 5ca81b1 commit c6f7806Copy full SHA for c6f7806
inst/templates/package.json.txt
@@ -9,6 +9,8 @@
9
"@babel/core": "^7.2.0",
10
"babel-loader": "^8.0.4",
11
"@babel/preset-env": "^7.2.0",
12
- "@babel/preset-react": "^7.0.0"
+ "@babel/preset-react": "^7.0.0",
13
+ "css-loader": "^5.0.1",
14
+ "style-loader": "^2.0.0"
15
}
16
inst/templates/webpack.config.js.txt
@@ -16,6 +16,11 @@ module.exports = {
options: {
17
presets: ['@babel/preset-env', '@babel/preset-react']
18
19
+ },
20
+ // For CSS so that import "path/style.css"; works
21
+ {
22
+ test: /\.css$/,
23
+ use: ['style-loader', 'css-loader']
24
25
]
26
},
0 commit comments