webpack cdn config

This commit is contained in:
cookfront
2017-05-25 15:27:58 +08:00
parent 65da018a90
commit 64b780056a
4 changed files with 13 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ var devConfig = require('./webpack.config.dev.js');
module.exports = merge(devConfig, {
output: {
path: path.join(__dirname, '../docs/dist'),
publicPath: '/zanui/vue',
publicPath: 'https://b.yzcdn.cn/zanui/vue',
filename: '[name].[hash:8].js',
umdNamedDefine: true
},