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

View File

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

View File

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

2
pnpm-lock.yaml generated
View File

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