Skip to content

Commit

Permalink
Temporarily pre-transpile everything
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Apr 25, 2024
1 parent e4bd4c0 commit 7f4dbef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/docusaurus/src/webpack/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function shouldBeTranspiled(modulePath: string): boolean {

// TODO POC pretranspiled modules
if (
// modulePath.includes('docusaurus-') ||
modulePath.includes('docusaurus-') ||
modulePath.includes('docusaurus-theme-classic') ||
modulePath.includes('@docusaurus/theme-classic') ||
modulePath.includes('docusaurus-theme-common') ||
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.base.client.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"incremental": true,
"moduleResolution": "bundler",
"module": "esnext",
"target": "esnext"
"target": "es2022",
"jsx": "react-jsx"
}
}

0 comments on commit 7f4dbef

Please sign in to comment.