Skip to content

Commit

Permalink
Escape . character in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Mar 31, 2024
1 parent 4267475 commit e40d784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/frameworks/nextjs/src/css/webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const configureCss = (baseConfig: WebpackConfig, nextConfig: NextConfig):
],
// We transform the "target.css" files from next.js into Javascript
// for Next.js to support fonts, so it should be ignored by the css-loader.
exclude: /next(\\|\/|\\\\).*(\\|\/|\\\\)target\.css/,
exclude: /next(\\|\/|\\\\).*(\\|\/|\\\\)target\.css$/,
};
}
});
Expand Down

0 comments on commit e40d784

Please sign in to comment.