Skip to content

Commit

Permalink
Merge pull request #193 from jacargentina/master
Browse files Browse the repository at this point in the history
Fix #192: Reference Error: module is not defined
  • Loading branch information
martpie authored Apr 25, 2021
2 parents e722264 + bffca4e commit 7ca44da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/next-transpile-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ const withTmInitializer = (modules = [], options = {}) => {
test: /\.+(js|jsx|mjs|ts|tsx)$/,
use: options.defaultLoaders.babel,
include: matcher,
type: 'javascript/auto',
});

if (resolveSymlinks === false) {
Expand Down

0 comments on commit 7ca44da

Please sign in to comment.