Skip to content

Commit

Permalink
Merge pull request #26 from mods-hd/patch-1
Browse files Browse the repository at this point in the history
Update index.js
  • Loading branch information
jleeson authored Sep 23, 2024
2 parents d60acc1 + 016746f commit 2ea8340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default (options = {}) => {
content = content.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g, "");
content = content.replace(/ {2,}/g, " ");
content = content.replace(/ ([{:}]) /g, "$1");
content = content.replace(/([{:}]) /g, "$1");
content = content.replace(/([{:}])([^\-\s])/g, "$1 $2");
content = content.replace(/([;,]) /g, "$1");
content = content.replace(/ !/g, "!");
return content;
Expand Down

0 comments on commit 2ea8340

Please sign in to comment.