feat(Poppperjs): add esm output

This commit is contained in:
chenjiahan
2020-12-04 13:31:42 +08:00
parent 1304c6f36b
commit 5f436fc62f
3 changed files with 16 additions and 6 deletions
+5 -1
View File
@@ -2,8 +2,12 @@
"name": "@vant/popperjs",
"version": "1.0.0",
"description": "Precompiled popperjs core",
"main": "lib/index.js",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "lib/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"