Skip to content

Commit

Permalink
Merge branch 'master' of github.com:martpie/next-transpile-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre de la Martiniere committed Dec 22, 2022
2 parents 7766007 + 2f0b381 commit edb02b1
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 edb02b1

Please sign in to comment.