Skip to content

Commit

Permalink
FIX: prioritize vue before json in resolve extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhjerry committed Dec 14, 2016
1 parent c239e01 commit 5317624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/build/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
filename: '[name].js'
},
resolve: {
extensions: ['', '.js', '.json', '.vue'],
extensions: ['', '.js', '.vue', '.json'],
fallback: [path.join(__dirname, '../node_modules')],
alias: {
{{#if_eq build "standalone"}}
Expand Down

0 comments on commit 5317624

Please sign in to comment.