2021-10-31 07:51:30 +03:00
|
|
|
name: Bug Report
|
2021-10-31 08:32:44 +03:00
|
|
|
description: Use this when swc breaks something
|
2021-10-31 07:51:30 +03:00
|
|
|
labels: C-bug
|
|
|
|
body:
|
|
|
|
- type: textarea
|
|
|
|
id: description
|
|
|
|
attributes:
|
|
|
|
label: Describe the bug
|
|
|
|
description: |
|
|
|
|
If swc crashed or panicked, you can gain error message by running `swc --sync <input.js>`.
|
|
|
|
Also, you can get backtrace by invoking swc by setting an environment varaible `SWC_DEBUG` to `1`.
|
|
|
|
validations:
|
|
|
|
required: true
|
|
|
|
- type: textarea
|
|
|
|
id: code
|
|
|
|
attributes:
|
|
|
|
label: Input code
|
|
|
|
render: typescript
|
|
|
|
- type: textarea
|
|
|
|
id: config
|
|
|
|
attributes:
|
|
|
|
label: Config
|
|
|
|
description: Paste your `.swcrc` file here.
|
|
|
|
render: json
|
|
|
|
- type: input
|
|
|
|
id: repro-link
|
|
|
|
attributes:
|
|
|
|
label: Playground link
|
2021-11-02 07:09:35 +03:00
|
|
|
description: You can use [swc playground](https://play.swc.rs/) to create a reproduction link, then paste the link here.
|
2021-10-31 07:51:30 +03:00
|
|
|
- type: textarea
|
|
|
|
id: expected-behavior
|
|
|
|
attributes:
|
|
|
|
label: Expected behavior
|
|
|
|
description: A clear and concise description of what you expect to happen.
|
|
|
|
validations:
|
|
|
|
required: true
|
2021-12-22 11:07:49 +03:00
|
|
|
- type: textarea
|
|
|
|
id: actual-behavior
|
|
|
|
attributes:
|
|
|
|
label: Actual behavior
|
|
|
|
description: A clear and concise description of actual behavior.
|
|
|
|
validations:
|
|
|
|
required: false
|
2021-10-31 07:51:30 +03:00
|
|
|
- type: input
|
|
|
|
id: version
|
|
|
|
attributes:
|
|
|
|
label: Version
|
|
|
|
validations:
|
|
|
|
required: true
|
|
|
|
- type: textarea
|
|
|
|
id: addition
|
|
|
|
attributes:
|
|
|
|
label: Additional context
|
|
|
|
placeholder: Add any other context about the problem here.
|