mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
[Build] use es entry file (#1108)
This commit is contained in:
@@ -7,7 +7,7 @@ delete config.serve;
|
|||||||
module.exports = Object.assign(config, {
|
module.exports = Object.assign(config, {
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
entry: {
|
entry: {
|
||||||
'vant': './packages/index.js'
|
'vant': './es/index.js'
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, '../lib'),
|
path: path.join(__dirname, '../lib'),
|
||||||
|
Reference in New Issue
Block a user