Skip to content

Commit 9065384

Browse files
test: fix
1 parent 3e34ead commit 9065384

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

test/fixtures/modules/icss-false-alias/relative.icss.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:import("/unknown.css") {
1+
:import("./unknown.css") {
22
IMPORTED_NAME: primary-color;
33
}
44

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:export {
2+
primary-color: red;
3+
}

test/modules-option.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -854,9 +854,9 @@ describe('"modules" option', () => {
854854
{
855855
resolve: {
856856
alias: {
857-
"/unknown.css": isWebpack5
857+
"./unknown.css": isWebpack5
858858
? false
859-
: path.resolve(__dirname, "./fixtures/url/logo.png"),
859+
: path.resolve(__dirname, "./fixtures/modules/unknown.css"),
860860
},
861861
},
862862
}

0 commit comments

Comments
 (0)