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
Copy file name to clipboardExpand all lines: test/__snapshots__/modules-option.test.js.snap
+104-4Lines changed: 104 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5059,6 +5059,86 @@ Array [
5059
5059
5060
5060
exports[`"modules" option should work when the "namedExport" is enabled and the "exportLocalsConvention" options has "dashesOnly" value: warnings 1`] = `Array []`;
5061
5061
5062
+
exports[`"modules" option should work when the 'auto' is not specified with inline module syntax: errors 1`] = `Array []`;
5063
+
5064
+
exports[`"modules" option should work when the 'auto' is not specified with inline module syntax: module 1 1`] = `
5065
+
"// Imports
5066
+
import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \\"../../src/runtime/noSourceMaps.js\\";
5067
+
import ___CSS_LOADER_API_IMPORT___ from \\"../../src/runtime/api.js\\";
5068
+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
@@ -2977,7 +2977,73 @@ exports[`"url" option should work with mini-css-extract-plugin: module 1`] = `
2977
2977
export {};"
2978
2978
`;
2979
2979
2980
-
exports[`"url" option should work with mini-css-extract-plugin: warnings 1`] = `Array []`;
2980
+
exports[`"url" option should work with mini-css-extract-plugin: warnings 1`] = `
2981
+
Array [
2982
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
2983
+
Warning
2984
+
2985
+
(120:3) Unable to find uri in 'background: green url() xyz'",
2986
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
2987
+
Warning
2988
+
2989
+
(124:3) Unable to find uri in 'background: green url(http://github.com/'') xyz'",
2990
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
2991
+
Warning
2992
+
2993
+
(128:3) Unable to find uri in 'background: green url(http://"//") xyz'",
2994
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
2995
+
Warning
2996
+
2997
+
(132:3) Unable to find uri in 'background: green url(http://github.com/'%20%20%20') xyz'",
2998
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
2999
+
Warning
3000
+
3001
+
(136:3) Unable to find uri in 'background: green url(http://github.com/%3C/div%3E%3C/code%3E%3C/td%3E%3C/tr%3E%3Ctr%20class=%22diff-line-row%22%3E%3Ctd%20data-grid-cell-id=%22diff-71f31f5105d2487c4b52a26db0e1ee7bdb54fed536114c2d4e219ce691782714-2980-3002-0%22%20data-selected=%22false%22%20role=%22gridcell%22%20style=%22background-color:var(--diffBlob-additionNum-bgColor,%20var(--diffBlob-addition-bgColor-num));text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative left-side">
3002
+
) xyz'",
3003
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
3004
+
Warning
3005
+
3006
+
(216:3) Unable to find uri in 'background-image: -webkit-image-set('')'",
3007
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
3008
+
Warning
3009
+
3010
+
(218:3) Unable to find uri in 'background-image: image-set('')'",
3011
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
3012
+
Warning
3013
+
3014
+
(219:3) Unable to find uri in 'background-image: image-set(\\"\\")'",
3015
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
3016
+
Warning
3017
+
3018
+
(220:3) Unable to find uri in 'background-image: image-set(\\"\\" 1x)'",
3019
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
3020
+
Warning
3021
+
3022
+
(221:3) Unable to find uri in 'background-image: image-set(url())'",
3023
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
3024
+
Warning
3025
+
3026
+
(222:3) Unable to find uri in 'background-image: image-set(
3027
+
url()
3028
+
)'",
3029
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
3030
+
Warning
3031
+
3032
+
(225:3) Unable to find uri in 'background-image: image-set(URL())'",
3033
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
3034
+
Warning
3035
+
3036
+
(226:3) Unable to find uri in 'background-image: image-set(url(http://github.com/''))'",
3037
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
3038
+
Warning
3039
+
3040
+
(227:3) Unable to find uri in 'background-image: image-set(url(http://"//"))'",
3041
+
"ModuleWarning: Module Warning (from \`replaced original path\`):
3042
+
Warning
3043
+
3044
+
(228:3) Unable to find uri in 'background-image: image-set(url(http://github.com/'') 1x)'",
3045
+
]
3046
+
`;
2981
3047
2982
3048
exports[`"url" option should work with the 'asset' type of asset modules: errors 1`] = `Array []`;
0 commit comments