aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-01-05 21:37:30 +0000
committerGitHub <noreply@github.com>2021-01-06 05:37:30 +0800
commit68497d025877a4f364187c9ce771d863c73fe7f0 (patch)
tree06903eeb1634d889f7562ef84ceb77367f48c3fb
parent71c3d04681b5f77799d426547be9646f25f44abc (diff)
downloadtracifyjs-68497d025877a4f364187c9ce771d863c73fe7f0.tar.gz
tracifyjs-68497d025877a4f364187c9ce771d863c73fe7f0.zip
update issue templates (#4514)
-rw-r--r--.github/ISSUE_TEMPLATE.md25
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md41
2 files changed, 41 insertions, 25 deletions
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
deleted file mode 100644
index e6966c3d..00000000
--- a/.github/ISSUE_TEMPLATE.md
+++ /dev/null
@@ -1,25 +0,0 @@
-**Bug report or feature request?**
-
-<!-- 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.
- Post a link to a gist if necessary.
-
- Issues without a reproducible test case will be closed.
--->
-
-**The `uglifyjs` CLI command executed or `minify()` options used.**
-
-**JavaScript output or error produced.**
-
-<!--
- Note: `uglify-js` only supports JavaScript.
- Those wishing to minify ES6+ should transpile first.
--->
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 00000000..e46005a1
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,41 @@
+---
+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.
+-->
+
+**JavaScript output or error produced.**
+
+<!--
+Only minified code that produces different output (or error) from the original
+upon execution would be considered a bug.
+-->