Skip to content

Commit b391637

Browse files
committed
fix:(image): vuejs/vue-loader#1612
1 parent dc5a472 commit b391637

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/config/webpack.base.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ const IMAGE_LOADERS = {
3232
loader: 'url-loader',
3333
options: {
3434
limit: 10240,
35+
esModule: false,
3536
fallback: {
3637
loader: 'file-loader',
3738
options: {
38-
name: 'img/[name].[hash:8].[ext]'
39+
name: 'img/[name].[hash:8].[ext]',
40+
esModule: false
3941
}
4042
}
4143
}

0 commit comments

Comments
 (0)