Cleanup unused WDS deps and config (#23155)

* Cleanup unused WDS deps and config

* fix
This commit is contained in:
Petar Petrov
2024-12-06 10:57:46 +02:00
committed by GitHub
parent 7a12fd2853
commit af049274d9
10 changed files with 30 additions and 144 deletions

View File

@@ -5,9 +5,6 @@ const paths = require("./paths.cjs");
const isTrue = (value) => value === "1" || value?.toLowerCase() === "true";
module.exports = {
useWDS() {
return isTrue(process.env.WDS);
},
isProdBuild() {
return (
process.env.NODE_ENV === "production" || module.exports.isStatsBuild()