From 71516dd833638241d992f21f32c9942562fe5ebe Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Fri, 13 Sep 2019 20:23:54 -0600 Subject: [PATCH] Split parcel prod bundle into own npm script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 50f8ce3..69ea047 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "start": "npm run build && cross-env NODE_ENV=production npm run serve", "watch-js": "parcel watch app/index.html --out-dir public --no-hmr --no-cache", "serve": "node server/index.js", - "build": "npm run process-images && parcel build app/index.html --out-dir public --no-source-maps --no-cache", + "build": "npm run process-images && npm run bundle", + "bundle": "parcel build app/index.html --out-dir public --no-source-maps --no-cache", "process-images": "node ./process-images.js", "clear": "rimraf public/{*,.*}" },