@tuya-sat/micro-dev-loader 2.2.15 → 2.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -78,7 +78,7 @@ class ThemePlugin {
|
|
|
78
78
|
const lessTasks = this.lessFiles.map((file) => {
|
|
79
79
|
let bufferString = fse__default["default"].readFileSync(file, "utf-8");
|
|
80
80
|
bufferString = `${bufferString}`;
|
|
81
|
-
return less__default["default"].render(bufferString, Object.assign({ filename: file }, index.getLessOptions()));
|
|
81
|
+
return less__default["default"].render(bufferString, Object.assign({ filename: file }, index.getLessOptions(index.DARK_THEME)));
|
|
82
82
|
});
|
|
83
83
|
const cssContents = yield Promise.all(lessTasks);
|
|
84
84
|
let singleCssContent = "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuya-sat/micro-dev-loader",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.16",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@babel/generator": "7.17.7",
|
|
15
15
|
"@babel/plugin-syntax-typescript": "7.16.7",
|
|
16
16
|
"@babel/template": "7.16.7",
|
|
17
|
-
"@tuya-sat/micro-utils": "2.2.
|
|
17
|
+
"@tuya-sat/micro-utils": "2.2.16",
|
|
18
18
|
"cheerio": "1.0.0-rc.10",
|
|
19
19
|
"ejs": "3.1.6",
|
|
20
20
|
"fs-extra": "10.0.1",
|