Skip to content

Commit a5bf56c

Browse files
author
Eduard Kyvenko
committed
fix(config): Exclude elm files from being processed by url-loader
1 parent 142f2a2 commit a5bf56c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

config/webpack.config.dev.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ module.exports = {
9393
exclude: [
9494
/\.html$/,
9595
/\.js$/,
96+
/\.elm$/,
9697
/\.css$/,
9798
/\.json$/,
9899
/\.svg$/

config/webpack.config.prod.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,12 @@ module.exports = {
7676
]
7777
})
7878
},
79+
7980
{
8081
exclude: [
8182
/\.html$/,
8283
/\.js$/,
84+
/\.elm$/,
8385
/\.css$/,
8486
/\.json$/,
8587
/\.svg$/

0 commit comments

Comments
 (0)