Skip to content

Commit

Permalink
Update splitChunks.js regex for Backpack chunks (#190)
Browse files Browse the repository at this point in the history
* Update splitChunks.js regex for Backpack chunks

* Add missing trailing comma
  • Loading branch information
olliecurtis authored Sep 3, 2024
1 parent b7b9b41 commit b6eeec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/backpack-addons/splitChunks.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const backpackStylesCacheGroup = {
type: 'css/mini-extract',
chunks: 'all',
enforce: true,
test: /[\\/]node_modules[\\/](@skyscanner[\\/]backpack-web|@skyscanner-internal[\\/]bpk-logos)[\\/]/,
test: /[\\/]node_modules[\\/](@skyscanner[\\/]backpack-web[\\/]|@skyscanner-internal[\\/]bpk-logos)/,
priority: 1,
};

Expand Down

0 comments on commit b6eeec9

Please sign in to comment.