Skip to content

Commit

Permalink
fix!: export ast-kit as entry
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Dec 13, 2024
1 parent f31e28e commit 3599064
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"./vite": "./src/vite.ts",
"./webpack": "./src/webpack.ts",
"./rspack": "./src/rspack.ts",
"./transformers": "./src/transformers.ts"
"./transformers": "./src/transformers.ts",
"./ast-kit": "./src/ast-kit.ts"
},
"publish": {
"include": [
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
"require": "./dist/transformers.cjs",
"import": "./dist/transformers.js"
},
"./ast-kit": {
"require": "./dist/ast-kit.cjs",
"import": "./dist/ast-kit.js"
},
"./*": "./*"
},
"typesVersions": {
Expand Down
1 change: 1 addition & 0 deletions src/ast-kit.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'ast-kit'
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@ export const AST: UnpluginInstance<Options, false> = createUnplugin(
export * from './core/options'
export * from './core/transform'
export * from './core/types'

export * from 'ast-kit'

0 comments on commit 3599064

Please sign in to comment.