Skip to content

Commit

Permalink
chore: optimize regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ctjlewis committed Aug 10, 2021
1 parent b2bdd45 commit 91ca589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ export default async function getBaseWebpackConfig(
module: {
rules: [
{
test: /.+\.(js|mjs|cjs)/,
test: /\.(js|mjs|cjs)$/,
loader: require.resolve('./webpack/loaders/shebang-loader'),
},
...(isWebpack5
Expand Down

0 comments on commit 91ca589

Please sign in to comment.