Skip to content

Commit

Permalink
fix: lower build target
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasio committed Aug 22, 2023
1 parent bb39a60 commit 8d4e0f9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packages/core/tsconfig-cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/cjs",
"module": "commonjs",
"target": "ES2017"
},
"exclude": ["node_modules", "dist", "*/**/__tests__"],
"include": ["src", "emotion.d.ts"]
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "dist/mjs",
"module": "esnext",
"target": "esnext",
"target": "ES2017"
},
"exclude": ["node_modules", "dist", "*/**/__tests__"],
"include": ["src"]
Expand Down
4 changes: 3 additions & 1 deletion packages/next/tsconfig-cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/cjs"
"outDir": "dist/cjs",
"module": "commonjs",
"target": "ES2017"
},
"exclude": ["node_modules", "dist", "*/**/__tests__"],
"include": ["src"]
Expand Down
2 changes: 1 addition & 1 deletion packages/next/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "dist/mjs",
"module": "esnext",
"target": "esnext"
"target": "ES2017"
},
"exclude": ["node_modules", "dist", "*/**/__tests__"],
"include": ["src"]
Expand Down

0 comments on commit 8d4e0f9

Please sign in to comment.