Skip to content

Commit

Permalink
test: webpack5 (#1023)
Browse files Browse the repository at this point in the history
* test: webpack@5

* test: webpack@5

* test: webpack@5

* test: webpack@5

* test: webpack@5

* test: webpack@5

* test: webpack@5

* test: webpack@5
  • Loading branch information
evilebottnawi committed Dec 16, 2019
1 parent ea26c56 commit 0016e49
Show file tree
Hide file tree
Showing 23 changed files with 637 additions and 608 deletions.
3 changes: 0 additions & 3 deletions azure-pipelines.yml
Expand Up @@ -58,7 +58,6 @@ jobs:
node-10-canary:
node_version: ^10.13.0
webpack_version: next
continue_on_error: true
steps:
- task: NodeTool@0
inputs:
Expand Down Expand Up @@ -115,7 +114,6 @@ jobs:
node-10-canary:
node_version: ^10.13.0
webpack_version: next
continue_on_error: true
steps:
- task: NodeTool@0
inputs:
Expand Down Expand Up @@ -172,7 +170,6 @@ jobs:
node-10-canary:
node_version: ^10.13.0
webpack_version: next
continue_on_error: true
steps:
- script: 'git config --global core.autocrlf input'
displayName: 'Config git core.autocrlf'
Expand Down
116 changes: 60 additions & 56 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions package.json
Expand Up @@ -37,12 +37,10 @@
"defaults": "webpack-defaults"
},
"files": [
"dist/",
"lib/",
"index.js"
"dist"
],
"peerDependencies": {
"webpack": "^4.0.0"
"webpack": "^4.0.0 || ^5.0.0"
},
"dependencies": {
"camelcase": "^5.3.1",
Expand Down Expand Up @@ -90,7 +88,7 @@
"standard-version": "^7.0.1",
"strip-ansi": "^6.0.0",
"url-loader": "^3.0.0",
"webpack": "^4.41.2"
"webpack": "^4.41.3"
},
"keywords": [
"webpack",
Expand Down
8 changes: 4 additions & 4 deletions test/__snapshots__/icss.test.js.snap
Expand Up @@ -162,7 +162,7 @@ exports[`ICSS show work with the case "import": errors 1`] = `Array []`;
exports[`ICSS show work with the case "import": module 1`] = `
"// Imports
var ___CSS_LOADER_API_IMPORT___ = require(\\"../../../../../src/runtime/api.js\\");
var ___CSS_LOADER_ICSS_IMPORT_0___ = require(\\"-!../../../../../src/index.js??ref--4!./vars.css\\");
var ___CSS_LOADER_ICSS_IMPORT_0___ = require(\\"-!../../../../../src/index.js??[ident]!./vars.css\\");
exports = module.exports = ___CSS_LOADER_API_IMPORT___(false);
exports.i(___CSS_LOADER_ICSS_IMPORT_0___);
// Module
Expand All @@ -176,7 +176,7 @@ exports.locals = {
exports[`ICSS show work with the case "import": result 1`] = `
Array [
Array [
"../../src/index.js?!./icss/tests-cases/import/vars.css",
"../../src/index.js?[ident]!./icss/tests-cases/import/vars.css",
"
",
"",
Expand All @@ -199,7 +199,7 @@ exports[`ICSS show work with the case "import-reserved-keywords": errors 1`] = `
exports[`ICSS show work with the case "import-reserved-keywords": module 1`] = `
"// Imports
var ___CSS_LOADER_API_IMPORT___ = require(\\"../../../../../src/runtime/api.js\\");
var ___CSS_LOADER_ICSS_IMPORT_0___ = require(\\"-!../../../../../src/index.js??ref--4!./vars.css\\");
var ___CSS_LOADER_ICSS_IMPORT_0___ = require(\\"-!../../../../../src/index.js??[ident]!./vars.css\\");
exports = module.exports = ___CSS_LOADER_API_IMPORT___(false);
exports.i(___CSS_LOADER_ICSS_IMPORT_0___);
// Module
Expand All @@ -214,7 +214,7 @@ exports.locals = {
exports[`ICSS show work with the case "import-reserved-keywords": result 1`] = `
Array [
Array [
"../../src/index.js?!./icss/tests-cases/import-reserved-keywords/vars.css",
"../../src/index.js?[ident]!./icss/tests-cases/import-reserved-keywords/vars.css",
"
",
"",
Expand Down

0 comments on commit 0016e49

Please sign in to comment.