diff --git a/src/index.js b/src/index.js index 3717c7e..effcaea 100644 --- a/src/index.js +++ b/src/index.js @@ -38,7 +38,7 @@ export default function litTailwindcss(options = defaultOptions) { if (result.css) { return code.replace( options.placeholder, - result.css.replaceAll(':', '\\:'), + result.css.replace(/:/g, '\\:'), ); } return null;