Skip to content

Commit 824ac04

Browse files
committed
add style-loader
1 parent 34a0e5b commit 824ac04

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

template/build/webpack.base.conf.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
{
2+
test: /\.css$/,
3+
loader: 'style!css'
4+
},
15
var path = require('path')
26

37
module.exports = {
@@ -24,6 +28,10 @@ module.exports = {
2428
test: /\.html$/,
2529
loader: "html"
2630
},
31+
{
32+
test: /\.css$/,
33+
loader: 'style!css'
34+
},
2735
{
2836
test: /\.ts$/,
2937
loader: 'ts-loader'

0 commit comments

Comments
 (0)