mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 00:14:18 +00:00
build(@vant/area-data): generate both cjs/esm output (#10107)
This commit is contained in:
@@ -11,6 +11,8 @@ function bundleBundle(format) {
|
||||
bundle: true,
|
||||
target: ['chrome53'],
|
||||
outfile,
|
||||
// preserve Chinese character
|
||||
charset: 'utf8',
|
||||
external: ['vue'],
|
||||
entryPoints: ['./src/index.ts'],
|
||||
}).then(finish);
|
||||
|
Reference in New Issue
Block a user