mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
chore: Use form for issues (#2595)
This commit is contained in:
parent
1a659d3214
commit
a278eff5ee
33
.github/ISSUE_TEMPLATE/bug_report.md
vendored
33
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -1,33 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Use this when swc breaks something
|
||||
title: ""
|
||||
labels: C-bug
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
<!--
|
||||
If you are using swc at work, please considering adding your company to https://swc.rs/users/
|
||||
If then, your issue will be fixed more quickly.
|
||||
-->
|
||||
|
||||
**Describe the bug**
|
||||
|
||||
**Input code**
|
||||
|
||||
**Config**
|
||||
|
||||
```json
|
||||
{
|
||||
// Please copy and paste your .swcrc file here
|
||||
}
|
||||
```
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Version**
|
||||
The version of @swc/core:
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
49
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
49
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
name: Bug Report
|
||||
about: Use this when swc breaks something
|
||||
title: ""
|
||||
labels: C-bug
|
||||
assignees: ""
|
||||
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
|
||||
description: You can use [swc playground](https://swc-play.vercel.app/) 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: 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.
|
23
.github/ISSUE_TEMPLATE/crash_report.md
vendored
23
.github/ISSUE_TEMPLATE/crash_report.md
vendored
@ -1,23 +0,0 @@
|
||||
---
|
||||
name: Crash report
|
||||
about: Use this when swc panics
|
||||
title: "panic: "
|
||||
labels: C-bug
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
<!--
|
||||
If you are using swc at work, please considering adding your company to https://swc.rs/users/
|
||||
If then, your issue will be fixed more quickly.
|
||||
-->
|
||||
|
||||
1. Source code
|
||||
|
||||
2. `.swcrc` file
|
||||
|
||||
3. Error message gained from `swc --sync <input.js>`
|
||||
(--sync is required to get panic message)
|
||||
|
||||
4. Backtrace
|
||||
|
||||
(You can get it by invoking swc by setting an environment varaible`SWC_DEBUG` to `1`, invoke swc like `SWC_DEBUG=1 npx swc foo.js` on linux / darwin)
|
19
.github/ISSUE_TEMPLATE/feature_request.md
vendored
19
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@ -1,19 +0,0 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Use this when you want a new feature
|
||||
title: ""
|
||||
labels: ""
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
<!--
|
||||
If you are using swc at work, please considering adding your company to https://swc.rs/users/
|
||||
If then, your issue will be fixed more quickly.
|
||||
-->
|
||||
|
||||
**Describe the feature**
|
||||
|
||||
**Babel plugin or link to the feature description**
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
21
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
21
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Feature Request
|
||||
about: Use this when you want a new feature
|
||||
title: ""
|
||||
labels: ""
|
||||
assignees: ""
|
||||
body:
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Describe the feature
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: link
|
||||
attributes:
|
||||
label: Babel plugin or link to the feature description
|
||||
- type: textarea
|
||||
id: addition
|
||||
attributes:
|
||||
label: Additional context
|
||||
placeholder: Add any other context about this feature here.
|
Loading…
Reference in New Issue
Block a user