Skip to content

Commit

Permalink
chore: exports parser entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Gumball12 committed Mar 2, 2024
1 parent 785dc41 commit d9f06fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./parser": {
"import": "./dist/parser.js",
"require": "./dist/parser.cjs"
}
},
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { resolve } from 'node:path';
import dts from 'vite-plugin-dts';

export default defineConfig({
plugins: [dts()],
plugins: [dts({ rollupTypes: true })],
build: {
lib: {
entry: {
Expand Down

0 comments on commit d9f06fe

Please sign in to comment.