Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
[FIX]: 正式环境打包配置有误
Browse files Browse the repository at this point in the history
  • Loading branch information
shenlq committed Feb 14, 2017
1 parent 40f0a41 commit 877d591
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion generators/app/templates/webpack.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ module.exports = {
})
],
resolve: {
extensions: ['', '.js', '.vue']
extensions: ['', '.js', '.vue'],
fallback: [path.join(__dirname, 'node_modules')],
alias: {
vue$: 'vue/dist/vue',
},
},
module: {
loaders: [{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-vue-impression",
"version": "2.0.0",
"version": "2.0.1",
"description": "Yeoman generator for Vue 2.0 project.",
"homepage": "https://github.com/NewDadaFE/generator-vue-impression",
"author": {
Expand Down

0 comments on commit 877d591

Please sign in to comment.