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

Moved to https://github.com/swc-project/pkgs

Results 30 swc-loader issues
Sort by recently updated
recently updated
newest added

I'd like to read what the breaking changes are between `v0.1` and `v0.2`

When using swc, there is an option for providing the [filename](https://github.com/swc-project/swc/blob/main/node-swc/src/types.ts#L238-L252) which can be passed down to plugins, but when using the swc-loader, the filename is not passed automatically as...

Im using an inline style-loader call in a js file ```const lessVar = require(`!!style-loader?{"esModule":false}!css-loader?{"esModule":false,"modules":"icss"}!less-loader!link.to.lessFile.less`);``` and this error is thrown: ```Module not found: Error: Can't resolve 'style-loader' in 'link/to/relative/file'``` The webpack...

As per: https://swc.rs/docs/configuring-swc/#multiple-entries We've been trying to use the following swc configuration options: ```json [ { "test": ".tsx?$", "jsc": { "parser": { "syntax": "typescript", "tsx": true, "decorators": false, "dynamicImport": true...

All code uploaded here: https://github.com/mtgto/example-swc-named-import-error This code generates runtime error: `Uncaught TypeError: c is not a function`. I check what causes this error: - When I set jsc.type.module to `commonjs`,...

i want to target browsers that support es6 modules, but i didn't found any option how to do this, only way i see is ctrl+c, ctrl+v all browsers from can...

Are there any plans on adding an option to the loaders to point to a swcrc configuration file similar to how babel does it? https://babeljs.io/docs/en/options#configfile

If the config supplied to swc-loader is invalid, instead of running with defaults swc should warn the operator and halt compilation.

When I set jsx: true, the default transformer is always React.createElement in my vue 2.x project, please help to resolve this problem, thanks.

Hey, swc looks promising. however, I tried to setup one legacy project with webpack using swc-loader and I have the follwing error when I try to run the project ```javascript...