Compare commits

...

5 Commits

Author SHA1 Message Date
Ryuya d34ffedf82
Merge 44db038779 into 5c11f27b6b 2025-09-30 19:51:15 +05:30
Alexander Akait 5c11f27b6b
chore(deps): update (#19960)
Github Actions / lint (push) Waiting to run Details
Github Actions / validate-legacy-node (push) Waiting to run Details
Github Actions / benchmark (1/4) (push) Waiting to run Details
Github Actions / benchmark (2/4) (push) Waiting to run Details
Github Actions / benchmark (3/4) (push) Waiting to run Details
Github Actions / benchmark (4/4) (push) Waiting to run Details
Github Actions / basic (push) Waiting to run Details
Github Actions / unit (push) Waiting to run Details
Github Actions / integration (10.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (12.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (14.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (16.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (18.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Blocked by required conditions Details
2025-09-30 12:55:30 +03:00
Ryuya 44db038779 feat: add general discussion template 2025-08-30 10:34:46 +09:00
Ryuya b8aaeac1de chore: remove validation checkboxes 2025-08-28 08:34:08 +09:00
Ryuya 8823af17f5 feat: improve issue templates and add discussion templates 2025-07-12 15:32:49 -07:00
7 changed files with 728 additions and 349 deletions

72
.github/DISCUSSION_TEMPLATE/ideas.yml vendored Normal file
View File

@ -0,0 +1,72 @@
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for suggesting a new feature! Help us understand your proposal by providing detailed information.
- type: textarea
attributes:
label: Feature Description
description: Provide a clear and concise description of the feature you'd like
placeholder: I would like webpack to support...
validations:
required: true
- type: textarea
attributes:
label: Goals
description: What problems would this feature solve?
value: |
1.
2.
3.
validations:
required: true
- type: textarea
attributes:
label: Current Behavior
description: How does webpack currently handle this use case?
placeholder: Currently, webpack requires users to...
validations:
required: true
- type: textarea
attributes:
label: Proposed Solution
description: How should this feature work? Include API examples if applicable
placeholder: |
I propose adding a new option:
```js
module.exports = {
newFeature: {
enabled: true
}
}
```
validations:
required: true
- type: textarea
attributes:
label: Alternatives Considered
description: What other solutions have you considered?
placeholder: |
- Using plugin X, but it doesn't support Y
- Writing custom loader, but it's too complex
- Current workaround using...
validations:
required: false
- type: textarea
attributes:
label: Use Cases
description: Provide specific examples of how this feature would be used
placeholder: |
This would be useful for:
- Projects that need to...
- When building applications with...
- Teams that want to...
validations:
required: true

23
.github/DISCUSSION_TEMPLATE/other.yml vendored Normal file
View File

@ -0,0 +1,23 @@
labels: ["discussion"]
body:
- type: markdown
attributes:
value: |
This template is for general discussions that don't fit into Q&A or Ideas categories.
For bug reports, please use the [issue tracker](https://github.com/webpack/webpack/issues/new/choose).
For questions and help, consider using the [Q&A category](https://github.com/webpack/webpack/discussions/categories/q-a).
- type: textarea
attributes:
label: Context
description: Share your thoughts or any relevant background
placeholder: What would you like to discuss?
validations:
required: false
- type: input
attributes:
label: webpack version
description: What version of webpack are you using?
placeholder: "5.89.0"

70
.github/DISCUSSION_TEMPLATE/q-a.yml vendored Normal file
View File

@ -0,0 +1,70 @@
labels: ["help wanted"]
body:
- type: markdown
attributes:
value: |
Need help with webpack? You're in the right place! Before asking:
- Check the [webpack documentation](https://webpack.js.org)
- Search existing [discussions](https://github.com/webpack/webpack/discussions)
- Search existing [issues](https://github.com/webpack/webpack/issues)
- type: textarea
attributes:
label: What do you need help with?
description: Describe your problem or question clearly
placeholder: I'm trying to configure webpack to do X, but I'm getting Y instead...
validations:
required: true
- type: textarea
attributes:
label: Your webpack configuration
description: Share your webpack.config.js or relevant configuration
render: js
placeholder: |
module.exports = {
entry: './src/index.js',
output: {
filename: 'bundle.js'
}
}
validations:
required: false
- type: textarea
attributes:
label: Error logs
description: If you're getting errors, paste them here
render: shell
placeholder: |
ERROR in ./src/index.js
Module not found: Error: Can't resolve...
validations:
required: false
- type: input
attributes:
label: Repository
description: Link to a minimal reproduction helps us help you faster
placeholder: https://github.com/username/webpack-issue
validations:
required: false
- type: textarea
attributes:
label: What have you tried?
description: List any solutions you've already attempted
placeholder: |
- I tried adding X to my config
- I searched for similar issues and found...
- I read the documentation about Y
validations:
required: false
- type: input
attributes:
label: webpack version
description: What version of webpack are you using?
placeholder: "5.89.0"
validations:
required: true

115
.github/ISSUE_TEMPLATE/bug-report.yml vendored Normal file
View File

@ -0,0 +1,115 @@
name: Bug Report
description: Report a bug in webpack
labels: ["type: bug"]
body:
- type: markdown
attributes:
value: |
Thank you for reporting a bug! Before submitting:
- Search [existing issues](https://github.com/webpack/webpack/issues) to avoid duplicates
- Try the latest version of webpack
- For help with your project, use [Discussions](https://github.com/webpack/webpack/discussions)
⚠️ **Important**: Issues that cannot be reproduced or contain vague information will be closed. If you need help debugging your specific setup, please use [Discussions](https://github.com/webpack/webpack/discussions/new?category=q-a) instead.
- type: textarea
id: description
attributes:
label: Bug Description
description: A clear and concise description of what the bug is
placeholder: When I do X, Y happens instead of Z
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Link to Minimal Reproduction
description: |
Please provide a minimal reproduction using:
- GitHub repository with minimal webpack.config.js
**If a minimal reproduction is difficult** (e.g., performance issues in large projects with thousands of files):
- Describe your project structure in detail
- Include your full webpack configuration
- Provide specific metrics (build times, memory usage, file counts)
placeholder: |
https://github.com/user/webpack-repro
OR for complex cases:
- Build takes 30+ minutes
- Issue only appears with specific combinations of loaders/plugins
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: Clear steps to reproduce the behavior
placeholder: |
1. Run 'npm install'
2. Run 'npm run build'
3. See error in console
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What you expected to happen
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual Behavior
description: What actually happened
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
description: |
Please run `npx webpack info` and paste the output here
render: shell
placeholder: |
System:
OS: macOS 14.0.0
CPU: (12) arm64 Apple M1
Memory: 16.00 GB
Binaries:
Node: 22.17.0
npm: 10.0.0
Packages:
webpack: 5.100.0
validations:
required: true
- type: dropdown
id: regression
attributes:
label: Is this a regression?
description: Did this work in a previous version of webpack?
options:
- "No"
- "Yes (please specify version below)"
validations:
required: true
- type: input
id: regression-version
attributes:
label: Last Working Version
description: If regression, which version worked?
placeholder: "v5.99.9"
- type: textarea
id: additional
attributes:
label: Additional Context
description: Any other context about the problem (error logs, workarounds, etc.)

11
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,11 @@
blank_issues_enabled: true
contact_links:
- name: Feature Request
url: https://github.com/webpack/webpack/discussions/new?category=ideas
about: Request new features or suggest improvements
- name: Ask for Help
url: https://github.com/webpack/webpack/discussions/new?category=q-a
about: Ask questions and get help from the community
- name: Other Discussion
url: https://github.com/webpack/webpack/discussions/new?category=general
about: General discussions that don't fit other categories

View File

@ -111,16 +111,16 @@
"@babel/core": "^7.27.1",
"@babel/preset-react": "^7.27.1",
"@codspeed/core": "^4.0.1",
"@eslint/js": "^9.29.0",
"@eslint/markdown": "^7.1.0",
"@stylistic/eslint-plugin": "^5.2.2",
"@eslint/js": "^9.36.0",
"@eslint/markdown": "^7.3.0",
"@stylistic/eslint-plugin": "^5.4.0",
"@types/glob-to-regexp": "^0.4.4",
"@types/graceful-fs": "^4.1.9",
"@types/jest": "^30.0.0",
"@types/mime-types": "^2.1.4",
"@types/node": "^24.1.0",
"@types/node": "^24.5.2",
"@types/xxhashjs": "^0.2.4",
"assemblyscript": "^0.28.5",
"assemblyscript": "^0.28.8",
"babel-loader": "^10.0.0",
"bundle-loader": "^0.5.6",
"coffee-loader": "^5.0.0",
@ -131,13 +131,13 @@
"date-fns": "^4.0.0",
"es5-ext": "^0.10.53",
"es6-promise-polyfill": "^1.2.0",
"eslint": "^9.29.0",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.1",
"eslint-config-webpack": "^4.5.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-jsdoc": "^51.2.3",
"eslint-plugin-n": "^17.21.0",
"eslint-plugin-n": "^17.23.1",
"eslint-plugin-prettier": "^5.5.0",
"eslint-plugin-unicorn": "^61.0.1",
"file-loader": "^6.0.0",
@ -146,11 +146,11 @@
"hash-wasm": "^4.9.0",
"husky": "^9.0.11",
"istanbul": "^0.4.5",
"jest": "^30.1.2",
"jest-circus": "^30.1.2",
"jest-cli": "^30.1.2",
"jest-diff": "^30.1.2",
"jest-environment-node": "^30.1.2",
"jest": "^30.2.0",
"jest-circus": "^30.2.0",
"jest-cli": "^30.2.0",
"jest-diff": "^30.2.0",
"jest-environment-node": "^30.2.0",
"jest-junit": "^16.0.0",
"json-loader": "^0.5.7",
"json5": "^2.1.3",

762
yarn.lock

File diff suppressed because it is too large Load Diff