silence webpack output

This commit is contained in:
ThatOneCalculator 2023-02-12 14:51:45 -08:00
parent ce930e28e8
commit ce2e7b7d5a

View file

@ -7,6 +7,7 @@ const isProduction = process.env.NODE_ENV === "production";
module.exports = { module.exports = {
mode: isProduction ? "production" : "development", mode: isProduction ? "production" : "development",
stats: "errors-only",
entry: "./src/sw.ts", entry: "./src/sw.ts",
output: { output: {
path: path.resolve(__dirname, "../../built/_sw_dist_"), path: path.resolve(__dirname, "../../built/_sw_dist_"),