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.
1 parent e61289c commit af224a9Copy full SHA for af224a9
webpack.config.js
@@ -6,7 +6,7 @@ const htmlPlugin = new HtmlWebPackPlugin({
6
});
7
8
module.exports = {
9
- entry: "./src/app.js",
+ entry: "./src/index.js",
10
module: {
11
rules: [
12
{
@@ -18,9 +18,6 @@ module.exports = {
18
},
19
20
test: /\.scss$/,
21
- include: [
22
- path.resolve(__dirname, "styles")
23
- ],
24
use: ["style-loader", "css-loader", "sass-loader"]
25
26
@@ -38,7 +35,7 @@ module.exports = {
38
35
]
39
36
40
37
resolve: {
41
- extensions: ["scss"]
+ extensions: [".scss", ".js"]
42
43
plugins: [htmlPlugin]
44
};
0 commit comments