We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650e058 commit be8d5a1Copy full SHA for be8d5a1
src/core/transform/index.ts
@@ -54,7 +54,7 @@ export async function transform(context: Context) {
54
await walk(program, {
55
enter(node) {
56
if (isConsoleExpression(node)) {
57
- const originalExpression = magicString.slice(node.start, node.end)
+ const originalExpression = compileResult.script.slice(node.start, node.end)
58
59
if (originalExpression.includes('%c'))
60
return false
0 commit comments