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.
This commit is contained in:
CountBleck 2022-08-31 18:35:07 -07:00
parent 8e1ddd1d7b
commit 61fe7ffc79
No known key found for this signature in database

View file

@ -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,