Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

Commit

Permalink
trim webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
posrix committed Mar 27, 2018
1 parent fe1e354 commit aab95cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/webpack.conf.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ module.exports = options => ({
vue$: 'vue/dist/vue.runtime.esm.js'
},
extensions: ['.js', '.vue', '.json'],
mainFields: ['browser', 'module', 'main'],
modules: ['app', 'node_modules'],
unsafeCache: true
mainFields: ['browser', 'module', 'main']
},
target: 'web',
devtool: options.devtool,
Expand Down

0 comments on commit aab95cc

Please sign in to comment.