Specify webpack mode

This commit is contained in:
Will Scullin 2021-03-26 11:42:30 -07:00
parent 6395a9009e
commit 8f20fb8829
No known key found for this signature in database
GPG Key ID: 26DCD1042C6638CD

View File

@ -4,10 +4,10 @@
"description": "Apple II Emulator in JavaScript", "description": "Apple II Emulator in JavaScript",
"scripts": { "scripts": {
"build": "webpack --mode=production", "build": "webpack --mode=production",
"dev": "webpack serve", "dev": "webpack serve --mode=development",
"index": "bin/index > json/disks/index.js", "index": "bin/index > json/disks/index.js",
"lint": "eslint '**/*.js' '**/*.ts'", "lint": "eslint '**/*.js' '**/*.ts'",
"start": "webpack serve", "start": "webpack serve --mode=production",
"test": "jest" "test": "jest"
}, },
"engines": { "engines": {