Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
10
node_modules/postcss/lib/map-generator.js
generated
vendored
10
node_modules/postcss/lib/map-generator.js
generated
vendored
@@ -75,7 +75,15 @@ class MapGenerator {
|
||||
}
|
||||
}
|
||||
} else if (this.css) {
|
||||
this.css = this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm, '')
|
||||
let startIndex
|
||||
while ((startIndex = this.css.lastIndexOf('/*#')) !== -1) {
|
||||
let endIndex = this.css.indexOf('*/', startIndex + 3)
|
||||
if (endIndex === -1) break
|
||||
while (startIndex > 0 && this.css[startIndex - 1] === '\n') {
|
||||
startIndex--
|
||||
}
|
||||
this.css = this.css.slice(0, startIndex) + this.css.slice(endIndex + 2)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user