From 61fe7ffc7939b9fe1952251a78681004ebb8bc3e Mon Sep 17 00:00:00 2001 From: CountBleck Date: Wed, 31 Aug 2022 18:35:07 -0700 Subject: [PATCH] Make debug builds opt-in If you want a debug build, set NODE_ENV=development. I added this just in case someone forgets to set the mode, like in the Ultraviolet-Static repository. --- bundle.js | 1 - 1 file changed, 1 deletion(-) diff --git a/bundle.js b/bundle.js index 366c7fe..077b148 100644 --- a/bundle.js +++ b/bundle.js @@ -6,7 +6,6 @@ const __dirname = path.resolve(path.dirname(decodeURI(new URL(import.meta.url).p console.log(path.resolve(path.dirname(decodeURI(new URL(import.meta.url).pathname))), __dirname); webpack({ - mode: 'none', entry: path.join(__dirname, './rewrite/index.js'), output: { path: __dirname,