aboutsummaryrefslogtreecommitdiff
path: root/.github/ISSUE_TEMPLATE/bug_report.md
blob: 199589456a76bfab8cc3779d532e265b17c06ac9 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

<!-- Note: sub-optimal but correct code is not a bug -->

**Uglify version (`uglifyjs -V`)**

**JavaScript input**

<!--
A complete parsable JS program exhibiting the issue with UglifyJS alone
- without third party tools or libraries.

Ideally the input should be as small as possible, but may be large if isolating
the problem proves to be difficult. The most important thing is that the
standalone program reliably exhibits the bug when minified. Provide a link to a
gist if necessary.

Solely providing minified output without the original uglify JS input is not
useful in determining the cause of the problem. Issues without a reproducible
test case will be closed.
-->

**The `uglifyjs` CLI command executed or `minify()` options used.**

<!--
Command-line or API call to UglifyJS without third party tools or libraries.

For users using bundlers or transpilers, you may be able to gather the required
information through setting the `UGLIFY_BUG_REPORT` environment variable:

    UGLIFY_BUG_REPORT=1         (Linux)
    set UGLIFY_BUG_REPORT=1     (Windows)

before running your usual build process. The resulting "minified" output should
contain the necessary details for this report.
-->

**JavaScript output or error produced.**

<!--
Only minified code that produces different output (or error) from the original
upon execution would be considered a bug.
-->