Skip to content

Commit

Permalink
fix: revert #3256 (#3267)
Browse files Browse the repository at this point in the history
  • Loading branch information
chu121su12 committed Oct 24, 2023
1 parent 20dca96 commit 8893f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default function WebpackPlugin<Theme extends object>(
: (result.getLayer(layer) || '')

if (!quote)
return css.replaceAll(/\\/g, '\\\\\\\\')
return css

// the css is in a js file, escaping
let escaped = JSON.stringify(css).slice(1, -1)
Expand Down

0 comments on commit 8893f31

Please sign in to comment.