@rsbuild/shared
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -35,5 +35,4 @@ "use strict"; | ||
} | ||
const flag = process.env.DEBUG.toLocaleLowerCase(); | ||
return flag === "rsbuild" || // compat the legacy usage from Modern.js Builder | ||
flag === "builder" || flag === "*"; | ||
const values = process.env.DEBUG.toLocaleLowerCase().split(","); | ||
return ["rsbuild", "builder", "*"].some((key) => values.includes(key)); | ||
}; | ||
@@ -40,0 +39,0 @@ function getTime() { |
{ | ||
"name": "@rsbuild/shared", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "The internal shared modules and dependencies of Rsbuild.", | ||
@@ -132,4 +132,4 @@ "homepage": "https://rsbuild.dev", | ||
"mini-css-extract-plugin": "2.7.7", | ||
"terser": "5.19.2", | ||
"terser-webpack-plugin": "5.3.9", | ||
"terser": "5.27.0", | ||
"terser-webpack-plugin": "5.3.10", | ||
"typescript": "^5.3.0", | ||
@@ -136,0 +136,0 @@ "webpack": "^5.89.0" |
7761710
23318