fixed not support Nuxt.js
This commit is contained in:
parent
1cbdb617bf
commit
54f510c528
2 changed files with 17 additions and 4 deletions
|
@ -22,6 +22,14 @@ module.exports = {
|
|||
libraryTarget: 'umd',
|
||||
umdNamedDefine: true
|
||||
},
|
||||
externals: {
|
||||
vue: {
|
||||
root: 'Vue',
|
||||
commonjs: 'vue',
|
||||
commonjs2: 'vue',
|
||||
amd: 'vue'
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue