Skip to content

Commit

Permalink
Merge pull request #284 from dstaley/ds.add-const
Browse files Browse the repository at this point in the history
fix ReferenceError
  • Loading branch information
martpie committed Nov 10, 2022
2 parents 36ec35e + 33b4e57 commit 2f0b381
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 2f0b381

Please sign in to comment.