Skip to content

Commit 284d536

Browse files
committed
nitpicks
1 parent 111210f commit 284d536

2 files changed

Lines changed: 24 additions & 8 deletions

File tree

‎lib/asset/RawDataUrlModule.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ class RawDataUrlModule extends Module {
125125
write(this.url);
126126
write(this.identifierStr);
127127
write(this.readableIdentifierStr);
128-
write(this.runtimeRequirements);
129128

130129
super.serialize(context);
131130
}
@@ -136,7 +135,6 @@ class RawDataUrlModule extends Module {
136135
this.url = read();
137136
this.identifierStr = read();
138137
this.readableIdentifierStr = read();
139-
this.runtimeRequirements = read();
140138

141139
super.deserialize(context);
142140
}

‎test/Defaults.unittest.js‎

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1944,27 +1944,45 @@ describe("Defaults", () => {
19441944
+ },
19451945
+ "resolve": Object {
19461946
+ "fullySpecified": true,
1947-
@@ ... @@
1947+
+ },
19481948
+ },
19491949
+ ],
19501950
+ "type": "webassembly/async",
19511951
+ },
19521952
+ Object {
1953-
+ "resolve": Object {
1954-
+ "fullySpecified": true,
1955-
+ "preferRelative": true,
1956-
+ },
1953+
+ "oneOf": Array [
1954+
+ Object {
1955+
+ "resolve": Object {
1956+
+ "fullySpecified": true,
1957+
+ },
1958+
+ "test": /\\.module\\.css$/i,
1959+
+ "type": "css/module",
1960+
+ },
1961+
+ Object {
1962+
+ "resolve": Object {
1963+
+ "fullySpecified": true,
1964+
+ "preferRelative": true,
1965+
+ },
1966+
+ "type": "css",
1967+
+ },
1968+
+ ],
19571969
+ "test": /\\.css$/i,
1958-
+ "type": "css",
19591970
+ },
19601971
+ Object {
1972+
+ "mimetype": "text/css+module",
1973+
+ "resolve": Object {
1974+
+ "fullySpecified": true,
1975+
+ },
1976+
+ "type": "css/module",
1977+
@@ ... @@
19611978
+ "mimetype": "text/css",
19621979
+ "resolve": Object {
19631980
+ "fullySpecified": true,
19641981
+ "preferRelative": true,
19651982
+ },
19661983
+ "type": "css",
19671984
+ },
1985+
+ Object {
19681986
@@ ... @@
19691987
+ "exportsPresence": "error",
19701988
@@ ... @@

0 commit comments

Comments
 (0)