Skip to content

Commit 0016e49

Browse files
test: webpack5 (webpack-contrib#1023)
* test: webpack@5 * test: webpack@5 * test: webpack@5 * test: webpack@5 * test: webpack@5 * test: webpack@5 * test: webpack@5 * test: webpack@5
1 parent ea26c56 commit 0016e49

23 files changed

+637
-608
lines changed

Diff for: azure-pipelines.yml

-3
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
node-10-canary:
5959
node_version: ^10.13.0
6060
webpack_version: next
61-
continue_on_error: true
6261
steps:
6362
- task: NodeTool@0
6463
inputs:
@@ -115,7 +114,6 @@ jobs:
115114
node-10-canary:
116115
node_version: ^10.13.0
117116
webpack_version: next
118-
continue_on_error: true
119117
steps:
120118
- task: NodeTool@0
121119
inputs:
@@ -172,7 +170,6 @@ jobs:
172170
node-10-canary:
173171
node_version: ^10.13.0
174172
webpack_version: next
175-
continue_on_error: true
176173
steps:
177174
- script: 'git config --global core.autocrlf input'
178175
displayName: 'Config git core.autocrlf'

Diff for: package-lock.json

+60-56
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+3-5
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@
3737
"defaults": "webpack-defaults"
3838
},
3939
"files": [
40-
"dist/",
41-
"lib/",
42-
"index.js"
40+
"dist"
4341
],
4442
"peerDependencies": {
45-
"webpack": "^4.0.0"
43+
"webpack": "^4.0.0 || ^5.0.0"
4644
},
4745
"dependencies": {
4846
"camelcase": "^5.3.1",
@@ -90,7 +88,7 @@
9088
"standard-version": "^7.0.1",
9189
"strip-ansi": "^6.0.0",
9290
"url-loader": "^3.0.0",
93-
"webpack": "^4.41.2"
91+
"webpack": "^4.41.3"
9492
},
9593
"keywords": [
9694
"webpack",

Diff for: test/__snapshots__/icss.test.js.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ exports[`ICSS show work with the case "import": errors 1`] = `Array []`;
162162
exports[`ICSS show work with the case "import": module 1`] = `
163163
"// Imports
164164
var ___CSS_LOADER_API_IMPORT___ = require(\\"../../../../../src/runtime/api.js\\");
165-
var ___CSS_LOADER_ICSS_IMPORT_0___ = require(\\"-!../../../../../src/index.js??ref--4!./vars.css\\");
165+
var ___CSS_LOADER_ICSS_IMPORT_0___ = require(\\"-!../../../../../src/index.js??[ident]!./vars.css\\");
166166
exports = module.exports = ___CSS_LOADER_API_IMPORT___(false);
167167
exports.i(___CSS_LOADER_ICSS_IMPORT_0___);
168168
// Module
@@ -176,7 +176,7 @@ exports.locals = {
176176
exports[`ICSS show work with the case "import": result 1`] = `
177177
Array [
178178
Array [
179-
"../../src/index.js?!./icss/tests-cases/import/vars.css",
179+
"../../src/index.js?[ident]!./icss/tests-cases/import/vars.css",
180180
"
181181
",
182182
"",
@@ -199,7 +199,7 @@ exports[`ICSS show work with the case "import-reserved-keywords": errors 1`] = `
199199
exports[`ICSS show work with the case "import-reserved-keywords": module 1`] = `
200200
"// Imports
201201
var ___CSS_LOADER_API_IMPORT___ = require(\\"../../../../../src/runtime/api.js\\");
202-
var ___CSS_LOADER_ICSS_IMPORT_0___ = require(\\"-!../../../../../src/index.js??ref--4!./vars.css\\");
202+
var ___CSS_LOADER_ICSS_IMPORT_0___ = require(\\"-!../../../../../src/index.js??[ident]!./vars.css\\");
203203
exports = module.exports = ___CSS_LOADER_API_IMPORT___(false);
204204
exports.i(___CSS_LOADER_ICSS_IMPORT_0___);
205205
// Module
@@ -214,7 +214,7 @@ exports.locals = {
214214
exports[`ICSS show work with the case "import-reserved-keywords": result 1`] = `
215215
Array [
216216
Array [
217-
"../../src/index.js?!./icss/tests-cases/import-reserved-keywords/vars.css",
217+
"../../src/index.js?[ident]!./icss/tests-cases/import-reserved-keywords/vars.css",
218218
"
219219
",
220220
"",

0 commit comments

Comments
 (0)