fix build

This commit is contained in:
cookfront
2017-04-19 10:32:12 +08:00
parent d3bb97eb34
commit f90115e22b
2 changed files with 11 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ if (process.env.NODE_ENV === 'production') {
delete module.exports.devtool;
module.exports.output = {
path: path.join(__dirname, '../docs/dist'),
publicPath: '/vue',
publicPath: './',
filename: '[name].[hash:8].js'
};
module.exports.plugins = module.exports.plugins.concat([