Skip to content

Commit d81795c

Browse files
committed
perf: require babel core
1 parent aa28410 commit d81795c

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"bumpp": "^10.3.1",
7676
"eslint": "^9.37.0",
7777
"prettier": "^3.6.2",
78+
"rolldown-plugin-require-cjs": "^0.3.0",
7879
"tsdown": "^0.15.6",
7980
"tsx": "^4.20.6",
8081
"typescript": "^5.9.3",

pnpm-lock.yaml

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsdown.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
import { RequireCJS } from 'rolldown-plugin-require-cjs'
12
import { defineConfig } from 'tsdown'
23

34
export default defineConfig({
45
entry: ['./src/*.ts'],
56
exports: true,
67
inlineOnly: [],
8+
plugins: [RequireCJS()],
79
})

0 commit comments

Comments
 (0)