mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
oops
This commit is contained in:
parent
3e6e5e5304
commit
453ef84893
@ -46,7 +46,7 @@ export default function processCss ( parsed, code ) {
|
|||||||
// remove comments. TODO would be nice if this was exposed in css-tree
|
// remove comments. TODO would be nice if this was exposed in css-tree
|
||||||
let match;
|
let match;
|
||||||
while ( match = commentsPattern.exec( css ) ) {
|
while ( match = commentsPattern.exec( css ) ) {
|
||||||
const start = match.index;
|
const start = match.index + offset;
|
||||||
const end = start + match[0].length;
|
const end = start + match[0].length;
|
||||||
|
|
||||||
code.remove( start, end );
|
code.remove( start, end );
|
||||||
|
Loading…
Reference in New Issue
Block a user