Skip to content

Commit

Permalink
fix: simplify tests, strip cwd from snapshot resource paths
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenkao committed Apr 4, 2024
1 parent 187f97f commit fd3fce8
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 389 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -1479,7 +1479,7 @@ module.exports = {
},
};

// same as above, just asynchronous
// supports an asynchronous callback
module.exports = {
module: {
rules: [
Expand Down
2 changes: 0 additions & 2 deletions src/utils.js
Expand Up @@ -593,8 +593,6 @@ function getModulesOptions(rawOptions, exportType, loaderContext) {
? "camelCaseOnly"
: "asIs",
exportOnlyLocals: false,
// eslint-disable-next-line no-undefined
getJSON: undefined,
...rawModulesOptions,
useExportsAs: rawModulesOptions.exportLocalsConvention === "asIs",
};
Expand Down

0 comments on commit fd3fce8

Please sign in to comment.