You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -101,8 +101,8 @@ exports[`loader should reuse \`ast\` from "postcss-loader": module 1`] = `
101
101
"// Imports
102
102
import ___CSS_LOADER_API_IMPORT___ from \\"../../../src/runtime/api.js\\";
103
103
import ___CSS_LOADER_GET_URL_IMPORT___ from \\"../../../src/runtime/getUrl.js\\";
104
-
import ___CSS_LOADER_URL_IMPORT_0___ from \\"./img1x.png\\";
105
-
import ___CSS_LOADER_URL_IMPORT_1___ from \\"./img2x.png\\";
104
+
var ___CSS_LOADER_URL_IMPORT_0___ = new URL(\\"./img1x.png\\", import.meta.url);
105
+
var ___CSS_LOADER_URL_IMPORT_1___ = new URL(\\"./img2x.png\\", import.meta.url);
106
106
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){returni[1]});
107
107
var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
108
108
var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
@@ -215,13 +215,7 @@ CssSyntaxError
215
215
216
216
exports[`loader should throw error on invalid css syntax: warnings 1`] =`Array []`;
217
217
218
-
exports[`loader should throws error when no loader(s) for assets: errors 1`] =`
219
-
Array [
220
-
"ModuleParseError: Module parse failed: Unexpected character '�' (1:0)
221
-
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
222
-
(Source code omitted for this binary file)",
223
-
]
224
-
`;
218
+
exports[`loader should throws error when no loader(s) for assets: errors 1`] =`Array []`;
225
219
226
220
exports[`loader should throws error when no loader(s) for assets: warnings 1`] =`Array []`;
227
221
@@ -232,7 +226,7 @@ exports[`loader should work with "asset" module type: module 1`] = `
232
226
import ___CSS_LOADER_API_IMPORT___ from \\"../../src/runtime/api.js\\";
233
227
import ___CSS_LOADER_AT_RULE_IMPORT_0___ from \\"-!../../src/index.js!./imported.css\\";
234
228
import ___CSS_LOADER_GET_URL_IMPORT___ from \\"../../src/runtime/getUrl.js\\";
235
-
import ___CSS_LOADER_URL_IMPORT_0___ from \\"./url/img.png\\";
229
+
var ___CSS_LOADER_URL_IMPORT_0___ = new URL(\\"./url/img.png\\", import.meta.url);
236
230
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){returni[1]});
0 commit comments