Skip to content

Commit

Permalink
Merge pull request #79 from lvancraen/master
Browse files Browse the repository at this point in the history
fix: invalid group specifier name in safari
  • Loading branch information
arefaslani committed Nov 25, 2021
2 parents 06e7ed0 + 209041a commit bc1bd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = ({ dynamicAssetPrefix = false, ...nextConfig } = {}) => {
config.module.rules.push({
test: new RegExp(`\\.(${nextConfig.fileExtensions.join('|')})$`),
// Next.js already handles url() in css/sass/scss files
issuer: /\.\w+(?<!(s?c|sa)ss)$/i,
issuer: new RegExp('\.\w+(?<!(s?c|sa)ss)$', 'i'),
exclude: nextConfig.exclude,
use: [
{
Expand Down

0 comments on commit bc1bd13

Please sign in to comment.