Skip to content

Commit

Permalink
Fix sourcemap warnings in Windows (#5301)
Browse files Browse the repository at this point in the history
  • Loading branch information
sws797 committed Feb 20, 2023
1 parent 967d99e commit 54e4ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
config.module.rules.push({
test: /\.js$/,
enforce: 'pre',
exclude: [/node_modules\/@next/, /node_modules\/next/],
exclude: [/node_modules[\\\/]@next/, /node_modules[\\\/]next/],
use: [
{
loader: require.resolve('source-map-loader'),
Expand Down

0 comments on commit 54e4ee2

Please sign in to comment.