From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试
---
node_modules/postcss/lib/no-work-result.js | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/node_modules/postcss/lib/no-work-result.js b/node_modules/postcss/lib/no-work-result.js
index dd46182..7ec1a74 100644
--- a/node_modules/postcss/lib/no-work-result.js
+++ b/node_modules/postcss/lib/no-work-result.js
@@ -2,7 +2,7 @@
let MapGenerator = require('./map-generator')
let parse = require('./parse')
-const Result = require('./result')
+let Result = require('./result')
let stringify = require('./stringify')
let warnOnce = require('./warn-once')
@@ -65,10 +65,9 @@
this._css = css
this._opts = opts
this._map = undefined
- let root
let str = stringify
- this.result = new Result(this._processor, root, this._opts)
+ this.result = new Result(this._processor, undefined, this._opts)
this.result.css = css
let self = this
@@ -78,7 +77,7 @@
}
})
- let map = new MapGenerator(str, root, this._opts, css)
+ let map = new MapGenerator(str, undefined, this._opts, css)
if (map.isMap()) {
let [generatedCSS, generatedMap] = map.generate()
if (generatedCSS) {
--
Gitblit v1.9.3