Skip to content
This repository was archived by the owner on Jun 14, 2018. It is now read-only.

Commit c239e01

Browse files
committed
FIX: can't resolve json files in require call
1 parent bf68340 commit c239e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/build/webpack.base.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
filename: '[name].js'
2121
},
2222
resolve: {
23-
extensions: ['', '.js', '.vue'],
23+
extensions: ['', '.js', '.json', '.vue'],
2424
fallback: [path.join(__dirname, '../node_modules')],
2525
alias: {
2626
{{#if_eq build "standalone"}}

0 commit comments

Comments
 (0)