Skip to content

Commit

Permalink
fix: support es2015
Browse files Browse the repository at this point in the history
closes #650
  • Loading branch information
sxzz committed Jun 26, 2023
1 parent 51227ad commit 450d742
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/babel-plugin-jsx/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ export default defineConfig({
entry: ['src/index.ts'],
format: ['cjs', 'esm'],
dts: true,
target: 'es2015',
platform: 'neutral',
});
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sourceMap": true,
"target": "ESNext",
"module": "ESNext",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"lib": ["ES2015", "DOM", "DOM.Iterable"],
"moduleResolution": "node",
"allowJs": true,
"strict": true,
Expand Down

0 comments on commit 450d742

Please sign in to comment.