Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test webpack5 #1023

Merged
merged 8 commits into from Dec 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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