Frontend: Improve make watch-js memory usage by tweaking node opts #3168

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-12-09 08:35:01 +01:00
parent 468284e1d1
commit 82b0003edb
2 changed files with 4 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ const ESLintPlugin = require("eslint-webpack-plugin");
const { WebpackManifestPlugin } = require("webpack-manifest-plugin");
const OfflinePlugin = require("@lcdp/offline-plugin");
const webpack = require("webpack");
const isDev = process.env.NODE_ENV !== "production";
const isDev = process.env?.BUILD_ENV === "development" || process.env?.NODE_ENV === "development";
const isCustom = !!process.env.CUSTOM_SRC;
const appName = process.env.CUSTOM_NAME ? process.env.CUSTOM_NAME : "PhotoPrism";
const { VueLoaderPlugin } = require("vue-loader");