Skip to content

Commit

Permalink
fix: replace all special charcters in script names
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Mar 24, 2021
1 parent 7c81a7c commit ce3da66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webpack/include-liquid-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class IncludeLiquidStylesPlugin {
(data, cb) => {
// Clean up escaped characters in vendor files
data.assets.js = data.assets.js.map((file) =>
file.includes('%40') ? file.replace('%40', '@') : file
file.includes('%40') ? file.replace(/%40/g, '@') : file
);
// Add liquid (s)css files to html webpack plugin
compilation.chunks.forEach((chunk) => {
Expand Down

0 comments on commit ce3da66

Please sign in to comment.