Skip to content

Commit a9bb97c

Browse files
committed
Add webpack.config
1 parent a7302f7 commit a9bb97c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

webpack.config.js

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module.exports = {
2+
entry: './src/main',
3+
4+
mode: 'development',
5+
devtool: false,
6+
7+
module: {
8+
rules: [
9+
{
10+
test: /\.css$/,
11+
use: [
12+
'style-loader',
13+
{
14+
loader: 'css-loader',
15+
options: {
16+
modules: true,
17+
localIdentName: '[local]__[hash]'
18+
}
19+
}
20+
]
21+
}
22+
]
23+
}
24+
};

0 commit comments

Comments
 (0)