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

SWC plugin to efficiently work with effector

Results 15 swc-plugin issues
Sort by recently updated
recently updated
newest added

Hi! Just updated to latest nextjs (need some features) and got build failed ![image](https://github.com/effector/swc-plugin/assets/5766592/5a6aad70-fcc6-4b8a-b836-74bafc18bcc3) ... ![image](https://github.com/effector/swc-plugin/assets/5766592/00ced60c-e656-454f-ab7c-a8c3e791c36f) checked several nextjs versions and noticed the problem appeared at 13.4.8

Correct syntax for using plugin.

Related: https://github.com/effector/effector/pull/1002

enhancement

Reproduce - clone repo https://github.com/domosedov/nextjs-effector-swc - install deps `pnpm i` - run `pnpm dev` - see terminal output

A fresh generic project with Vite, Effector and Solid, followed the instructions for configuring plugin for this environment from the README (under the Bundlers section). Application fails in runtime with...

bug

- [ ] Unify programmatic sid insertions: `sample({and: arg, or: {sid, name})` vs `restore(arg, arg, {sid, name})`

```js /** * @type {import('next').NextConfig} */ const config = { reactStrictMode: true, experimental: { swcPlugins: [ ['@effector/swc-plugin', {}], ], }, } ``` ``` thread '' panicked at 'called `Result::unwrap()` on...

bug

#### Description Example: https://github.com/vvysokiy/swc-jest-decorators [Correct compiled code - playground link](https://play.swc.rs/?version=1.3.25&code=H4sIAAAAAAAAA1WMvQoCMRCE%2B32K6ZKAKNZBucbC%2Fl4gF1e4Iz96iSCEvLurIGIzDDPfzBxvea1oOKeFfXVTYHRc1xyhhsSlLmXnc4w5KUs0%2FChtiJ%2BfrQ%2BuFIzConWiCxe%2FzhNr9XVqA21wOKIRUIXT6q1%2FMSBvcq33Zlvz6f5wQayVphvqxr4AI5Pm0qgAAAA%3D&config=H4sIAAAAAAAAA2WRwU7DMAyG3yXiODa0Y09IcGCH8QLTDlbqdhlJHNmuWJn67jiUVkjcWvv%2Fv%2Fy27%2B5B%2FAUTuMZdVIs0u91VKG%2Fnqigxbon7nXx69m7jhAb2eIQirlEecOOu4l1zdwrcoxoGZf%2B0fzJpJBJcVHhT5AzxDWNBXs0fiOUlgsg7JLRqB1GsXIAFuWJlzAo3w%2BpYUDyHooZWuS2EFj0xWM6V2Y4ZUvCHVIh1Lk5mYcjSEadKjdiDH18X6z%2FWERVaUFgajOC1GnnIGpJN5WBQSqDBu2mq49lU1rCwsepKHPqQLdLp5J6x69AbtS7xce64zX06n82YQg7dWC0Jch9xXYGnVBhl2cn0R%2FurSNQO1XD%2F2Y1FMkuifJV6JuXgdYk%2F%2Fx2pXc8R4WtcvjMdsh2HyvrUN%2Btk9k8WAgAA) #### Config `.swcrc` ```json { "$schema": "https://json.schemastore.org/swcrc", "sourceMaps": true, "jsc": { "target": "es2020", "loose": true, "externalHelpers": true, "keepClassNames": false, "parser":...

bug

`SWC` provides a handler which allows plugin authors to write and show to users their own diagnostics. This can help with reporting issues and understanding what exactly went wrong.

enhancement