Skip to content

Commit 18c8686

Browse files
refactor: webpack@4 dropped (#769)
* refactor: tests for webpack@4 dropped * refactor: tests * refactor: webpack@4 dropped * fix: publicPath auto (#771) BREAKING CHANGE: trailing slash at is no longer automatically added for the `publicPath` option, you need added them in configuration, i.e. `publicPath: "/public-path"` should be `publicPath: "/public-path/"`
1 parent 1629b70 commit 18c8686

File tree

105 files changed

+1498
-4964
lines changed

Some content is hidden

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

105 files changed

+1498
-4964
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
matrix:
5757
os: [ubuntu-latest, windows-latest, macos-latest]
5858
node-version: [10.x, 12.x, 14.x]
59-
webpack-version: [4, latest]
59+
webpack-version: [latest]
6060

6161
runs-on: ${{ matrix.os }}
6262

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ module.exports = {
33
transformIgnorePatterns: ['/node_modules/', '<rootDir>/dist/'],
44
watchPathIgnorePatterns: ['<rootDir>/test/js'],
55
setupFilesAfterEnv: ['<rootDir>/setupTest.js'],
6-
snapshotResolver: './test/helpers/snapshotResolver.js',
76
};

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"dist"
4040
],
4141
"peerDependencies": {
42-
"webpack": "^4.4.0 || ^5.0.0"
42+
"webpack": "^5.0.0"
4343
},
4444
"dependencies": {
4545
"loader-utils": "^2.0.0",

0 commit comments

Comments
 (0)