Skip to content

Commit

Permalink
fix: __dirname for nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
andreafalzetti committed Feb 10, 2020
1 parent 017398b commit b3e9d48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,8 @@ module.exports = ignoreWarmupPlugin({
: // Don't minimize in production
// Large builds can run out of memory
{ minimize: false },
plugins: plugins()
plugins: plugins(),
node: {
__dirname: false
}
});

0 comments on commit b3e9d48

Please sign in to comment.