plugins
plugins copied to clipboard
Plugins for swc, written in rust
Sometimes I (we?) would like to have unit tests for functions that we do not expose. I tend to try to write small functions and only want to export a...
When using `swc-loader` in Webpack with the following `.swcrc`, ```json { "sync": true, "jsc": { "parser": { "syntax": "typescript", "tsx": true, "decorators": true, "dynamicImport": true }, "transform": { "decoratorMetadata": true,...
Hello, I tried to use `@swc/plugin-transform-imports` to transform my relative TypeScript imports such as: `import * as utils from './utils'` To: `import * as utils from "./utils.js"` With this configuration...
@kwonoj we've been having a lot of success using `@swc/plugin-relay` so far, but it seems to sporadically fail in our CI environment. I've updated `@swc/core`, `@swc/jest` and `@swc/plugin-relay` but am...
With the styled-components plugin enabled and using `@swc-jest`, I'm seeing my tests hang in our CI pipeline. The failures seem inconsistent, sometimes with no output, sometimes they will just hang...
https://github.com/swc-project/plugins/blob/4e75423a873b25f1526d29b51b74bff1475467fd/packages/emotion/src/lib.rs#L76 This will be broken on windows
It seems like the code does not minify by removing space and "\n". This is able to optimize for better compression. 
```jsx Module not found: Error: Can't resolve '__generated__/PrintersListQuery.graphql.ts' in 'app\src\renderer' ``` ``` Did you mean './__generated__/PrintersListQuery.graphql.ts'? Requests that should resolve in the current directory need to start with './'. Requests...