@@ -1186,7 +1186,7 @@ Array [
11861186 "replacementName": "___CSS_LOADER_ICSS_IMPORT_1_REPLACEMENT_1___",
11871187 },
11881188 ],
1189- "resourcePath": "/Users/skao/workspace/webpack-contrib/css-loader /test/fixtures/modules/getJSON/source.css",
1189+ "resourcePath": "<ROOT_DIR> /test/fixtures/modules/getJSON/source.css",
11901190 },
11911191 ],
11921192 Array [
@@ -1209,7 +1209,7 @@ Array [
12091209 },
12101210 ],
12111211 "replacements": Array [],
1212- "resourcePath": "/Users/skao/workspace/webpack-contrib/css-loader /test/fixtures/modules/getJSON/composeSourceB.css",
1212+ "resourcePath": "<ROOT_DIR> /test/fixtures/modules/getJSON/composeSourceB.css",
12131213 },
12141214 ],
12151215 Array [
@@ -1236,7 +1236,7 @@ Array [
12361236 },
12371237 ],
12381238 "replacements": Array [],
1239- "resourcePath": "/Users/skao/workspace/webpack-contrib/css-loader /test/fixtures/modules/getJSON/composeSourceC.css",
1239+ "resourcePath": "<ROOT_DIR> /test/fixtures/modules/getJSON/composeSourceC.css",
12401240 },
12411241 ],
12421242]
@@ -1344,6 +1344,29 @@ exports[`"modules" option should invoke the custom getJSON function with getJSON
13441344
13451345exports[`"modules" option should invoke the custom getJSON function with getJSON as an asynchronous function: args 1`] = `
13461346Array [
1347+ Array [
1348+ Object {
1349+ "exports": Array [
1350+ Object {
1351+ "name": "composedB",
1352+ "value": "gFdUXtR3F_6oyBd_qgU8",
1353+ },
1354+ ],
1355+ "imports": Array [
1356+ Object {
1357+ "importName": "___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___",
1358+ "url": "\\"../../../../src/runtime/noSourceMaps.js\\"",
1359+ },
1360+ Object {
1361+ "importName": "___CSS_LOADER_API_IMPORT___",
1362+ "type": "api_import",
1363+ "url": "\\"../../../../src/runtime/api.js\\"",
1364+ },
1365+ ],
1366+ "replacements": Array [],
1367+ "resourcePath": "<ROOT_DIR>/test/fixtures/modules/getJSON/composeSourceB.css",
1368+ },
1369+ ],
13471370 Array [
13481371 Object {
13491372 "exports": Array [
@@ -1406,30 +1429,7 @@ Array [
14061429 "replacementName": "___CSS_LOADER_ICSS_IMPORT_1_REPLACEMENT_1___",
14071430 },
14081431 ],
1409- "resourcePath": "/Users/skao/workspace/webpack-contrib/css-loader/test/fixtures/modules/getJSON/source.css",
1410- },
1411- ],
1412- Array [
1413- Object {
1414- "exports": Array [
1415- Object {
1416- "name": "composedB",
1417- "value": "gFdUXtR3F_6oyBd_qgU8",
1418- },
1419- ],
1420- "imports": Array [
1421- Object {
1422- "importName": "___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___",
1423- "url": "\\"../../../../src/runtime/noSourceMaps.js\\"",
1424- },
1425- Object {
1426- "importName": "___CSS_LOADER_API_IMPORT___",
1427- "type": "api_import",
1428- "url": "\\"../../../../src/runtime/api.js\\"",
1429- },
1430- ],
1431- "replacements": Array [],
1432- "resourcePath": "/Users/skao/workspace/webpack-contrib/css-loader/test/fixtures/modules/getJSON/composeSourceB.css",
1432+ "resourcePath": "<ROOT_DIR>/test/fixtures/modules/getJSON/source.css",
14331433 },
14341434 ],
14351435 Array [
@@ -1456,7 +1456,7 @@ Array [
14561456 },
14571457 ],
14581458 "replacements": Array [],
1459- "resourcePath": "/Users/skao/workspace/webpack-contrib/css-loader /test/fixtures/modules/getJSON/composeSourceC.css",
1459+ "resourcePath": "<ROOT_DIR> /test/fixtures/modules/getJSON/composeSourceC.css",
14601460 },
14611461 ],
14621462]
0 commit comments