|
1 | 1 | name: 🐞 Bug report |
2 | 2 | description: Report an issue |
| 3 | +type: Bug |
3 | 4 | labels: [pending triage] |
4 | 5 | body: |
5 | 6 | - type: markdown |
6 | 7 | attributes: |
7 | 8 | value: | |
8 | | - Thanks for taking the time to fill out this bug report! |
| 9 | + **Before You Start...** |
| 10 | +
|
| 11 | + This form is only for submitting bug reports. If you have a usage question |
| 12 | + or are unsure if this is really a bug, make sure to: |
| 13 | + - Read the [docs](https://tsdown.dev/) |
| 14 | + - Ask on [GitHub Discussions](https://github.com/rolldown/tsdown/discussions) |
| 15 | +
|
| 16 | + Also try to search for your issue - it may have already been answered or even fixed in the development branch. |
| 17 | + However, if you find that an old, closed issue still persists in the latest version, |
| 18 | + you should open a new issue using the form below instead of commenting on the old issue. |
9 | 19 | - type: textarea |
10 | | - id: bug-description |
| 20 | + id: reproduction-link-or-steps |
11 | 21 | attributes: |
12 | | - label: Describe the bug |
13 | | - description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks! |
14 | | - placeholder: Bug description |
15 | | - validations: |
16 | | - required: true |
17 | | - - type: input |
18 | | - id: reproduction |
19 | | - attributes: |
20 | | - label: Reproduction |
| 22 | + label: Reproduction link or steps |
21 | 23 | description: | |
22 | | - A [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) is **required**, otherwise the issue might be closed without further notice. [**Why & How?**](https://antfu.me/posts/why-reproductions-are-required) |
23 | | - **必填,否则可能会被直接关闭。** |
24 | | - placeholder: Reproduction |
| 24 | + - Use [StackBlitz](https://stackblitz.com/github/rolldown/tsdown-starter-stackblitz) to create a minimal reproduction and share the link. |
| 25 | + - Or provide a minimal repository on GitHub that can reproduce the issue. You could use [this template](https://github.com/rolldown/tsdown-starter-stackblitz). |
| 26 | + placeholder: Reproduction link or steps |
25 | 27 | validations: |
26 | 28 | required: true |
27 | 29 | - type: textarea |
28 | | - id: system-info |
| 30 | + id: expected |
29 | 31 | attributes: |
30 | | - label: System Info |
31 | | - description: Output of `npx envinfo --system --binaries --browsers` |
32 | | - render: Shell |
33 | | - placeholder: System, Binaries, Browsers |
| 32 | + label: What is expected? |
34 | 33 | validations: |
35 | 34 | required: true |
36 | | - - type: dropdown |
37 | | - id: package-manager |
| 35 | + - type: textarea |
| 36 | + id: actually-happening |
38 | 37 | attributes: |
39 | | - label: Used Package Manager |
40 | | - description: Select the used package manager |
41 | | - options: |
42 | | - - npm |
43 | | - - yarn |
44 | | - - pnpm |
45 | | - - bun |
46 | | - - n/a |
| 38 | + label: What is actually happening? |
47 | 39 | validations: |
48 | 40 | required: true |
49 | | - - type: checkboxes |
50 | | - id: checkboxes |
| 41 | + - type: textarea |
| 42 | + id: additional-comments |
51 | 43 | attributes: |
52 | | - label: Validations |
53 | | - description: Before submitting the issue, please make sure you do the following |
54 | | - options: |
55 | | - - label: Follow our [Code of Conduct](https://github.com/sxzz/.github/blob/main/CODE_OF_CONDUCT.md) |
56 | | - required: true |
57 | | - - label: Read the [Contributing Guide](https://github.com/sxzz/contribute). |
58 | | - required: true |
59 | | - - label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. |
60 | | - required: true |
61 | | - - label: Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. |
62 | | - required: true |
63 | | - - label: The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug. |
64 | | - required: true |
| 44 | + label: Any additional comments? |
| 45 | + description: e.g. some background/context of how you ran into this bug. |
0 commit comments