Skip to content

Commit

Permalink
feat!: esm package
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Apr 17, 2024
1 parent 3794865 commit cf1febb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
File renamed without changes.
11 changes: 4 additions & 7 deletions package.json
Expand Up @@ -3,6 +3,7 @@
"version": "0.3.0",
"packageManager": "pnpm@9.0.1",
"description": "Extend Babel AST for magic-string.",
"type": "module",
"license": "MIT",
"homepage": "https://github.com/sxzz/magic-string-ast#readme",
"bugs": {
Expand All @@ -16,16 +17,12 @@
"dist"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": {
"require": "./dist/index.d.ts",
"import": "./dist/index.d.mts"
},
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./*": "./*"
},
Expand Down

0 comments on commit cf1febb

Please sign in to comment.