From 22ab9fad17c851585a0bc39fd709468d8b7853c8 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Tue, 14 Sep 2021 02:47:05 -0500 Subject: [PATCH] chore: install optimizations for the build --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8d2cfc2b..08b251d7 100644 --- a/package.json +++ b/package.json @@ -11,9 +11,9 @@ "lint": "eslint . --fix", "test.lint": "eslint .", "clean": "shx rm -rf dist", - "tsc": "tsc -p src/tsconfig.json || echo done", + "test.tsc": "tsc -p src/tsconfig.json --noEmit", "dev": "cross-env NODE_ENV=development parcel watch", - "build": "cross-env NODE_ENV=production parcel build", + "build": "cross-env NODE_ENV=production parcel build --detailed-report", "prepare": "npm run build" }, "engines": { @@ -24,7 +24,8 @@ "targets": { "main": { "context": "node", - "includeNodeModules": true + "includeNodeModules": true, + "optimize": true } }, "prettier": "prettier-config-atomic",