Skip to content

Commit ce6b061

Browse files
committed
Merge branch 'main' into feature-14072
2 parents 0ee3a99 + 228fc69 commit ce6b061

1,496 files changed

Lines changed: 39492 additions & 10086 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ charset = utf-8-bom
1717

1818
[*.md]
1919
trim_trailing_whitespace = false
20+
21+
[*.snap]
22+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
# Ignore node_modules
2-
node_modules
1+
# Ignore some test files
2+
test/**/*.*
3+
!test/*.js
4+
!test/**/webpack.config.js
5+
!test/**/test.config.js
6+
!test/**/test.filter.js
7+
test/cases/parsing/es2022/test.filter.js
8+
!test/**/errors.js
9+
!test/**/warnings.js
10+
!test/**/deprecations.js
11+
!test/helpers/*.*
312

413
# Ignore some folders
514
benchmark
615
coverage
716

17+
# Ignore generated files
18+
*.check.js
19+
820
# Ignore not supported files
9-
!.*.js
10-
.eslintrc.js
1121
*.d.ts
1222

1323
# Ignore precompiled schemas
1424
schemas/**/*.check.js
1525

16-
# Ignore some test files
17-
test/*
18-
!test/*Cases
19-
!test/helpers
20-
!test/*.js
21-
test/*Cases/**/*.js
22-
!test/*Cases/**/webpack.config.js
23-
2426
# Ignore some examples files
2527
examples/**/*.js
2628
!examples/*/webpack.config.js

.eslintrc.js

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = {
5656
...["implements", "const", "memberof", "readonly", "yields"].reduce(
5757
(acc, tag) => {
5858
acc[tag] = {
59-
message: `@${tag} currently not supported in Typescript`
59+
message: `@${tag} currently not supported in TypeScript`
6060
};
6161
return acc;
6262
},
@@ -77,6 +77,13 @@ module.exports = {
7777
}
7878
},
7979
overrides: [
80+
{
81+
// Allow to use `dynamic` import
82+
files: ["bin/**/*.js"],
83+
parserOptions: {
84+
ecmaVersion: 2020
85+
}
86+
},
8087
{
8188
files: ["lib/**/*.runtime.js", "hot/*.js"],
8289
env: {
@@ -90,11 +97,21 @@ module.exports = {
9097
ecmaVersion: 5
9198
}
9299
},
100+
{
101+
files: ["tooling/**/*.js"],
102+
env: { es6: true },
103+
parserOptions: {
104+
ecmaVersion: 2020
105+
}
106+
},
93107
{
94108
files: ["test/**/*.js"],
95109
env: {
96110
"jest/globals": true
97111
},
112+
parserOptions: {
113+
ecmaVersion: 2020
114+
},
98115
globals: {
99116
nsObj: false,
100117
jasmine: false

.github/ISSUE_TEMPLATE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
<!-- Before creating an issue please make sure you are using the latest version of webpack. -->
33
<!-- Also consider trying the webpack@beta version, maybe it's already fixed. -->
44

5-
**Do you want to request a *feature* or report a *bug*?**
5+
**Do you want to request a _feature_ or report a _bug_?**
66

7-
<!-- Please ask questions on StackOverflow or the webpack Gitter (https://gitter.im/webpack/webpack). -->
7+
<!-- Please ask questions on StackOverflow or the GitHub Discussions. -->
8+
<!-- https://github.com/webpack/webpack/discussions -->
9+
<!-- https://stackoverflow.com/questions/ask?tags=webpack -->
810
<!-- Issues which contain questions or support requests will be closed. -->
911

1012
**What is the current behavior?**

.github/ISSUE_TEMPLATE/Bug_report.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@ about: Create a report to help us improve
88

99
# Bug report
1010

11-
<!-- Please ask questions on StackOverflow or the webpack Gitter. -->
11+
<!-- Please ask questions on StackOverflow or the GitHub Discussions. -->
12+
<!-- https://github.com/webpack/webpack/discussions -->
1213
<!-- https://stackoverflow.com/questions/ask?tags=webpack -->
13-
<!-- https://gitter.im/webpack/webpack -->
1414
<!-- Issues which contain questions or support requests will be closed. -->
1515

1616
**What is the current behavior?**
1717

18-
1918
**If the current behavior is a bug, please provide the steps to reproduce.**
2019

21-
2220
<!-- A great way to do this is to provide your configuration via a GitHub repository -->
2321
<!-- The most helpful is a minimal reproduction with instructions on how to reproduce -->
2422
<!-- Repositories with too many files or large `webpack.config.js` files are not suitable -->
@@ -28,12 +26,11 @@ about: Create a report to help us improve
2826

2927
**What is the expected behavior?**
3028

31-
3229
<!-- "It should work" is not a helpful explanation -->
3330
<!-- Explain exactly how it should behave -->
3431

3532
**Other relevant information:**
3633
webpack version:
37-
Node.js version:
38-
Operating System:
34+
Node.js version:
35+
Operating System:
3936
Additional tools:

.github/ISSUE_TEMPLATE/Feature_request.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
54
---
65

76
<!-- Please don't delete this template or we'll close your issue -->
@@ -16,12 +15,9 @@ about: Suggest an idea for this project
1615

1716
**What is the expected behavior?**
1817

19-
2018
**What is motivation or use case for adding/changing the behavior?**
2119

22-
2320
**How should this be implemented in your opinion?**
2421

25-
2622
**Are you willing to work on this yourself?**
2723
yes

.github/ISSUE_TEMPLATE/Other.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
name: Other
33
about: Something else
4-
54
---
65

76
<!-- Bug reports and Feature requests must use other templates, or will be closed -->
8-
<!-- Please ask questions on StackOverflow or the webpack Gitter (https://gitter.im/webpack/webpack). -->
7+
<!-- Please ask questions on StackOverflow or the GitHub Discussions. -->
8+
<!-- https://github.com/webpack/webpack/discussions -->
9+
<!-- https://stackoverflow.com/questions/ask?tags=webpack -->
910
<!-- Issues which contain questions or support requests will be closed. -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
1+
<!-- The webpack team is currently a beta pilot for GitHub Copilot for Pull Requests, please leave this template unchanged for now -->
2+
13
<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->
24
<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->
35
<!-- Try to link to an open issue for more information. -->
46

7+
## Summary
58

6-
<!-- In addition to that please answer these questions: -->
7-
8-
**What kind of change does this PR introduce?**
9-
10-
<!-- E.g. a bugfix, feature, refactoring, build related change, etc… -->
11-
12-
**Did you add tests for your changes?**
13-
14-
<!-- Note that we won't merge your changes if you don't add tests -->
9+
<!-- cspell:disable-next-line -->
1510

16-
**Does this PR introduce a breaking change?**
11+
copilot:summary
1712

18-
<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->
13+
## Details
1914

20-
**What needs to be documented once your changes are merged?**
15+
<!-- cspell:disable-next-line -->
2116

22-
<!-- List all the information that needs to be added to the documentation after merge -->
23-
<!-- When your changes are merged you will be asked to contribute this to the documentation -->
17+
copilot:walkthrough
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->
2+
<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->
3+
<!-- Try to link to an open issue for more information. -->
4+
5+
<!-- In addition to that please answer these questions: -->
6+
7+
**What kind of change does this PR introduce?**
8+
9+
<!-- E.g. a bugfix, feature, refactoring, build related change, etc… -->
10+
11+
**Did you add tests for your changes?**
12+
13+
<!-- Note that we won't merge your changes if you don't add tests -->
14+
15+
**Does this PR introduce a breaking change?**
16+
17+
<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->
18+
19+
**What needs to be documented once your changes are merged?**
20+
21+
<!-- List all the information that needs to be added to the documentation after merge -->
22+
<!-- When your changes are merged you will be asked to contribute this to the documentation -->

.github/dependabot.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
version: 2
22
updates:
3-
- package-ecosystem: npm
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
time: "04:00"
8-
timezone: Europe/Berlin
9-
open-pull-requests-limit: 20
10-
labels:
11-
- dependencies
12-
versioning-strategy: widen
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "04:00"
8+
timezone: Europe/Berlin
9+
open-pull-requests-limit: 20
10+
labels:
11+
- dependencies
12+
versioning-strategy: widen
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
15+
schedule:
16+
interval: daily
17+
time: "04:00"
18+
timezone: Europe/Berlin
19+
open-pull-requests-limit: 20
20+
labels:
21+
- dependencies

0 commit comments

Comments
 (0)