改变打包出来的amd模块,增加amd模块的名字 (#28)

* add amd name
This commit is contained in:
Yao
2017-05-11 15:58:12 +08:00
committed by GitHub
parent 329df09e22
commit 2feeb67b3f
5 changed files with 14 additions and 4 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ module.exports = {
output: {
path: path.join(__dirname, '../docs/dist'),
publicPath: '/',
filename: '[name].js'
filename: '[name].js',
umdNamedDefine: true
},
devServer: {
historyApiFallback: {