mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
[new feature] support es module (#875)
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = Object.assign({}, config, {
|
||||
'vant': './packages/index.js'
|
||||
},
|
||||
output: {
|
||||
path: path.join(__dirname, '../lib'),
|
||||
path: path.join(__dirname, '../es'),
|
||||
library: 'vant',
|
||||
libraryTarget: 'umd',
|
||||
filename: isMinify ? '[name].min.js' : '[name].js',
|
||||
|
Reference in New Issue
Block a user