-
Docusaurus v3.6 is out with the Docusaurus Faster options 🥳 🎉
https://docusaurus.io/blog/releases/3.6
# Docusaurus Faster
This is a meta-issue for the Docusaurus Faster project.
The goa…
-
```ts
function fun(a?:string){
console.log(a);
}
fun()
```
function fun(a?:string){
^
SyntaxError: Unexpected token '?'
at ESMLoader.moduleStrategy (node:internal/modu…
-
### 🚀 Feature Proposal
Jest allows for configuration in TypeScript via `ts-node`:
https://github.com/facebook/jest/blob/7f39f0a589703191a0cd3c6db558920281f7195f/docs/Configuration.md?plain=1#L37
…
-
I've read #79 but I think I'm seeing a related issue.
### minimal reproducible code
There are two input source files:
```ts
// 1. application/web/foo.test.ts
const run = jest.fn() …
-
### Verify canary release
- [X] I verified that the issue exists in the latest Next.js canary release
### Provide environment information
```bash
Operating System:
Platform: linux
…
-
### Describe the bug
I cannot reproduce this with the playground or CLI, only with `@swc-node/register`
```log
node --import @swc-node/register/esm-register ./index.ts
file:///C:/New%20folde…
-
I'm using native ES modules in Node v16.15.0. This is done by specifying `"type"` prop in `package.json`:
```json
"type": "module"
```
Here are repro steps:
```sh
mkdir test-proj
cd ./test-…
-
https://blog.logrocket.com/complete-guide-internationalization-nextjs/
Hi, since this article was written, many things changed.
1. nextjs is shipped by default with SWC compiler enabled, and ba…
-
# 写在前面的
在[万字 esbuild 源代码批判,让你能够直接 PR](https://juejin.cn/post/7216246232762253371) 文章中详细研究了 esbuild 项目,为达到极限的编译速度,它的编译过程十分紧凑,仅有两次整体 AST 树传递。
这并非没有代价,esbuild 中对 AST 的解析、适配低版本语法、代码压缩等流程紧密耦合,难以基于它开发…
-
SWC (https://github.com/swc-project/swc) is a more performant babel replacement that's being shipped with some frameworks like Next.js
This library only appears to work strictly with babel and I was …