feat(@vant/area-data): esm output

This commit is contained in:
chenjiahan 2021-11-09 14:57:26 +08:00
parent 9799a9be42
commit 6fc929f317
4 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,8 @@
"name": "@vant/area-data",
"version": "1.1.3",
"description": "Vant 省市区数据",
"main": "lib/index.js",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"

View File

@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ES2019",
"outDir": "./lib",
"module": "commonjs",
"module": "ES2015",
"strict": true,
"declaration": true,
"skipLibCheck": true,

View File

@ -25,6 +25,7 @@
"@vant/use": "^1.3.2"
},
"devDependencies": {
"vue": "3.x",
"@vue/runtime-core": "3.x",
"@vant/cli": "workspace:*",
"@rollup/plugin-babel": "^5.2.1",

2
pnpm-lock.yaml generated
View File

@ -238,6 +238,7 @@ importers:
'@vue/runtime-core': 3.x
release-it: ^14.2.2
rollup: ^2.33.3
vue: 3.x
dependencies:
'@vant/use': link:../vant-use
devDependencies:
@ -247,6 +248,7 @@ importers:
'@vue/runtime-core': 3.2.21
release-it: 14.11.6
rollup: 2.59.0
vue: 3.2.21
packages/vant-markdown-loader:
specifiers: