Skip to content

Commit

Permalink
feat: enable oxc transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Feb 12, 2025
1 parent d24e5b3 commit 2e8327a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"esbuild": "^0.25.0",
"eslint": "^9.20.0",
"magic-string": "^0.30.17",
"oxc-transform": "^0.50.0",
"pathe": "^2.0.2",
"rimraf": "^6.0.1",
"rollup": "^4.34.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/browser/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default () =>
}
},
},
isolatedDecl({ extraOutdir: '.node-types' }),
isolatedDecl({ transformer: 'oxc', extraOutdir: '.node-types' }),
...plugins,
],
},
Expand All @@ -75,7 +75,7 @@ export default () =>
},
external,
plugins: [
isolatedDecl({ extraOutdir: '.client-types' }),
isolatedDecl({ transformer: 'oxc', extraOutdir: '.client-types' }),
plugins,
],
},
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit 2e8327a

Please sign in to comment.