swc/.github/ISSUE_TEMPLATE/bug_report.yml

55 lines
1.5 KiB
YAML
Raw Normal View History

2021-10-31 07:51:30 +03:00
name: Bug Report
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>`.
2022-04-11 21:45:58 +03:00
Also, you can get backtrace by invoking swc by setting an environment variable `SWC_DEBUG` to `1`.
2021-10-31 07:51:30 +03:00
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
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
- 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.