|
@@ -14,6 +14,8 @@ module.exports = {
|
|
publicPath: '/dist/',
|
|
publicPath: '/dist/',
|
|
filename: 'element-ui.common.js',
|
|
filename: 'element-ui.common.js',
|
|
chunkFilename: '[id].js',
|
|
chunkFilename: '[id].js',
|
|
|
|
+ libraryExport: 'default',
|
|
|
|
+ library: 'ELEMENT',
|
|
libraryTarget: 'commonjs2'
|
|
libraryTarget: 'commonjs2'
|
|
},
|
|
},
|
|
resolve: {
|
|
resolve: {
|