Skip to content

Commit

Permalink
fix ReferenceError
Browse files Browse the repository at this point in the history
  • Loading branch information
dstaley committed Nov 8, 2022
1 parent 36ec35e commit 33b4e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/next-transpile-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const withTmInitializer = (modules = [], options = {}) => {
*/
const getPackageRootDirectory = (module) => {
try {
packageLookupDirectory = resolve(CWD, path.join(module, 'package.json'));
const packageLookupDirectory = resolve(CWD, path.join(module, 'package.json'));
return path.dirname(packageLookupDirectory);
} catch (err) {
throw new Error(
Expand Down

0 comments on commit 33b4e57

Please sign in to comment.