Skip to content

Commit fd3fce8

Browse files
committed
fix: simplify tests, strip cwd from snapshot resource paths
1 parent 187f97f commit fd3fce8

File tree

10 files changed

+47
-389
lines changed

10 files changed

+47
-389
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ module.exports = {
14791479
},
14801480
};
14811481

1482-
// same as above, just asynchronous
1482+
// supports an asynchronous callback
14831483
module.exports = {
14841484
module: {
14851485
rules: [

src/utils.js

-2
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,6 @@ function getModulesOptions(rawOptions, exportType, loaderContext) {
593593
? "camelCaseOnly"
594594
: "asIs",
595595
exportOnlyLocals: false,
596-
// eslint-disable-next-line no-undefined
597-
getJSON: undefined,
598596
...rawModulesOptions,
599597
useExportsAs: rawModulesOptions.exportLocalsConvention === "asIs",
600598
};

0 commit comments

Comments
 (0)