Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Next.js does not use Babel (at least for single file) anymore

Manav Rathi3fad0427a799
diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json
index fccc234541..1054a65f3b 100644
--- a/packages/utils/tsconfig.json
+++ b/packages/utils/tsconfig.json
@@ -10,15 +10,15 @@
*
* In our case, we tell it that the code will run in a modern browser,
* and will have access to a latest JS (esnext) and the DOM (dom). Our
- * transpiler (Babel via Next.js) will take care that these things hold.
+ * transpiler (Next.js) will ensure that these things hold.
*
* Unlike the other individual library components (say how "esnext"
* implies "esnext.*"), "dom.iterable" (the ability to iterate over DOM
* elements) is not a subset of "dom" and needs to be listed out
* explicitly.
*
- * Note that we don't need to specify target, since TypeScript isn't
- * actually generating (emitting) the JavaScript.
+ * Note that we don't need to specify the `target` compilerOption, since
+ * TypeScript isn't actually generating (emitting) the JavaScript.
*/
"lib": ["esnext", "dom", "dom.iterable"],
@@ -47,7 +47,7 @@
"jsx": "preserve",
/* Ask TypeScript to warn us if we use TypeScript features that cannot
- be used by single-file transpilers (Babel in our case) */
+ be used by single-file transpilers */
"isolatedModules": true,
/* Enable various workarounds to play better with CJS libraries */
"esModuleInterop": true,