Skip to content

Commit

Permalink
chore: fix build fail by rollup-plugin-dts w/ re-export types
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Oct 10, 2024
1 parent 44f9a25 commit f3c2a31
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@dual-bundle/import-meta-resolve": "^4.1.0",
"@fastify/deepmerge": "^2.0.0",
"@rollup/pluginutils": "^5.1.2",
"@swc/types": "^0.1.12",
"get-tsconfig": "^4.8.1",
"rollup-preserve-directives": "^1.1.2"
},
Expand Down
20 changes: 15 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type {
Options as SwcOptions,
JscTarget,
JsMinifyOptions
} from '@swc/core';
} from '@swc/types';
import {
transform as swcTransform,
minify as swcMinify
Expand Down

0 comments on commit f3c2a31

Please sign in to comment.