Merge pull request #17089 from webpack/fix-css-external

test: externals imports at top
This commit is contained in:
Alexander Akait 2023-04-29 23:56:07 +03:00 committed by GitHub
commit b38a6b558b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 73 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,3 @@
body {
externally-imported1: true;
}

View File

@ -0,0 +1,3 @@
body {
externally-imported2: true;
}

View File

@ -191,6 +191,8 @@ url(style6.css?foo=14)
@import url("./style9.css") unknown(default) unknown(display: flex) unknown;
@import url("./style9.css") unknown(default);
@import url("./style10.css");
body {
background: red;
}

View File

@ -0,0 +1,7 @@
@import url(./style11.css);
@import url(https://test.cases/path/../../../../configCases/css/css-import/external1.css);
@import url(./style12.css);
.style10 {
color: red;
}

View File

@ -0,0 +1,3 @@
.style11 {
color: red;
}

View File

@ -0,0 +1,5 @@
@import url(https://test.cases/path/../../../../configCases/css/css-import/external2.css);
.style12 {
color: red;
}