-
```ts
function fun(a?:string){
console.log(a);
}
fun()
```
function fun(a?:string){
^
SyntaxError: Unexpected token '?'
at ESMLoader.moduleStrategy (node:internal/modu…
-
TSC Found 0 issues. Generating metadata...
server:dev: Successfully compiled src\metadata.ts with swc (7.87ms)
server:dev: Error: Cannot find module '.prisma/client/default'
server:dev: Require s…
-
### Verify canary release
- [X] I verified that the issue exists in the latest Next.js canary release
### Provide environment information
```bash
Operating System:
Platform: darwin
Ar…
-
```js
thread '' panicked at 'index out of bounds: the len is 0 but the index is 0', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/sourcemap-6.0.1/src/builder.rs:84:9
note: run with `…
-
### Documentation issue
- [ ] Reporting a typo
- [ X ] Reporting a documentation bug
- [ ] Documentation improvement
- [ ] Documentation feedback
### Is there a specific documentation page …
-
I have an ejected CRA with a custom webpack loader. I use `swc-loader` instead of `babel-loader` for faster compile time. Actually, I add `@walletconnect/web3-provider` into my app. I got an error to …
-
`node -r swc-register src/**/*.test.ts` works as expected if `"type": "module"` is not present in `package.json`, otherwise the script fails with:
```
> node -r swc-register src/**/*.test.ts
in…
-
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": {
"parse…
-
We added more complexity to our bundling in: https://github.com/ash-bergs/pantry-pal/pull/33
A dev and prod webpack config were added, allowing us to skip the service worker for local environments, b…
-
### Describe the bug
Everything runs smoothly with `pnpm test-storybook`. On the other hand, `pnpm test-storybook --coverage` returns an empty coverage report.
### Steps to reproduce the behavio…