mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
69 lines
1.9 KiB
YAML
69 lines
1.9 KiB
YAML
name: Bug Report
|
|
description: Use this when swc breaks something
|
|
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 variable `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
|
|
description: You can use [swc playground](https://play.swc.rs/) to create a reproduction link, then paste the link here.
|
|
- 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
|
|
- 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.
|
|
|
|
- type: markdown
|
|
attributes:
|
|
value: |
|
|
<!--
|
|
Thanks for taking the time to fill out this bug report!
|
|
Please do not remove this, or your issue will be closed.
|
|
-->
|
|
|
|
---
|
|
|
|
_This is message for readers, not the author of ths issue._
|
|
|
|
Please read [no +1](https://github.com/golang/go/wiki/NoPlusOne) before lefting a comment, or your comment will be deleted and you will be blocked.
|