silence webpack output

This commit is contained in:
ThatOneCalculator 2023-02-12 14:51:45 -08:00
parent 9046b76536
commit 2e6baa8ccf
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

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_"),