feat: support ESM file extension

This commit is contained in:
jk2K
2022-09-19 23:42:40 +08:00
parent 773e075419
commit c3472bbd81
2 changed files with 3266 additions and 4 deletions

View File

@@ -9,11 +9,11 @@
"dist_types"
],
"main": "./dist/flowbite-vue.umd.js",
"module": "./dist/flowbite-vue.es.js",
"module": "./dist/flowbite-vue.mjs",
"typings": "./dist_types/index.d.ts",
"exports": {
".": {
"import": "./dist/flowbite-vue.es.js",
"import": "./dist/flowbite-vue.mjs",
"require": "./dist/flowbite-vue.umd.js"
}
},
@@ -40,7 +40,7 @@
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@vitejs/plugin-vue": "^2.3.3",
"@vitejs/plugin-vue": "^3.1.0",
"@vue/compiler-sfc": "^3.2.37",
"@vue/test-utils": "^2.0.0",
"@vue/tsconfig": "^0.1.3",
@@ -58,7 +58,7 @@
"tailwindcss": "^3",
"tsc-alias": "^1.7.0",
"typescript": "^4.7.3",
"vite": "^2.4.3",
"vite": "^3.1.3",
"vitest": "^0.16.0",
"vue-eslint-parser": "^9.0.3",
"vue-tsc": "^0.30.0"