Skip to content

Commit

Permalink
refactor: switch to ESM first
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Dec 29, 2024
1 parent 15b2b69 commit 0037ee9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

30 changes: 16 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"name": "unplugin-element-plus",
"version": "0.8.0",
"packageManager": "pnpm@9.15.2",
"type": "module",
"license": "MIT",
"keywords": [
"element-plus",
"unplugin",
Expand All @@ -17,38 +19,38 @@
},
"repository": {
"type": "git",
"url": "https://github.com/element-plus/unplugin-element-plus"
"url": "git+https://github.com/element-plus/unplugin-element-plus.git"
},
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/index.mjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./vite": {
"require": "./dist/vite.js",
"import": "./dist/vite.mjs"
"require": "./dist/vite.cjs",
"import": "./dist/vite.js"
},
"./webpack": {
"require": "./dist/webpack.js",
"import": "./dist/webpack.mjs"
"require": "./dist/webpack.cjs",
"import": "./dist/webpack.js"
},
"./rollup": {
"require": "./dist/rollup.js",
"import": "./dist/rollup.mjs"
"require": "./dist/rollup.cjs",
"import": "./dist/rollup.js"
},
"./esbuild": {
"require": "./dist/esbuild.js",
"import": "./dist/esbuild.mjs"
"require": "./dist/esbuild.cjs",
"import": "./dist/esbuild.js"
},
"./nuxt": {
"require": "./dist/nuxt.js",
"import": "./dist/nuxt.mjs"
"require": "./dist/nuxt.cjs",
"import": "./dist/nuxt.js"
},
"./*": "./*"
},
Expand Down

0 comments on commit 0037ee9

Please sign in to comment.