Skip to content

Commit bc35070

Browse files
committed
🔧 webpack config
1 parent 059671b commit bc35070

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

index.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
module.exports = (api, opts) => {}
1+
module.exports = (api, opts) => {
2+
api.chaiWebpack(config => {
3+
config
4+
.module
5+
.rule("loader")
6+
.test(/\.(png|jpg|gif)$/)
7+
.use("file-loader")
8+
.loader("file-loader")
9+
})
10+
}

0 commit comments

Comments
 (0)