swc-node icon indicating copy to clipboard operation
swc-node copied to clipboard

Faster ts-node without typecheck

Results 68 swc-node issues
Sort by recently updated
recently updated
newest added

I'm trying to workaround `ERR_UNKNOWN_FILE_EXTENSION ` error for `.mts` files. 🤣 related: - https://github.com/egoist/esbuild-register/issues/79 - https://github.com/folke/esbuild-runner/issues/67

At the moment, swc-node raise an error if we defined `paths` in `tsconfig.json` For example: ```json { "compilerOptions": { "baseUrl": "./src", "paths": { "@api/*": ["api/*"] } } } ``` ```...

Hi, after I migrated to swc-node, running with ``` node -r @swc-node/register src/server.ts ``` throws error that claims `--moduleResolution` must be either `node` or `classic`, while I can confirm ts...

- Close: https://github.com/Brooooooklyn/swc-node/issues/634 - Close: https://github.com/Brooooooklyn/swc-node/issues/383 - Close: https://github.com/Brooooooklyn/swc-node/issues/120

When using v8 coverageProvider, a file named which is not port of our source code is reported in the code coverage report. When switching to babel coverageProvider (the default from...

If I have a file that contains ```typescript // myFile.ts export const addOne = (x: number): string => `${x + 1}` export const someFunc = (x: number): string => `The...

the swc-loader is using `this.getOptions()` function, which is introduced in webpack 5. Need to use `loader-utils` to getOptions when webpack is

I'm trying to pass ``` transformSync(code, filename, { target: 'node' }) ``` to `@swc-node/core` `1.8.2` and it seems to reject the target ``` unknown variant `node`, expected one of `es3`,...

## The Problem swc-node respects the `files` and `includes` properties of tsconfig, which is normally sensible but interferes with monorepo workflows that depend on directly importing typescript files from sibling...

`@swc-node/jest` behaves differently with jest `27.5.1`. As of yesterday when I updated `jest`, I'm getting some weird behavior from `swc-node` that is causing most of my unit tests to break....