commit 56d3c3d511b0b96effde641549a1b69a9ba51294
parent c52c51f1c0817353c6f5ad43b9347dffb7242125
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 19 May 2018 14:35:51 +0200
Fix build issues
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/package.json b/package.json
@@ -6,7 +6,7 @@
"ng": "ng",
"build:ssr": "yarn run build:client-and-server-bundles && yarn run webpack:server",
"serve:ssr": "node dist/server.js",
- "build:client-and-server-bundles": "ng build --prod --sourcemap && ng build --prod --sourcemap --app 1 --output-hashing=false",
+ "build:client-and-server-bundles": "ng build --prod && ng build --prod --app 1 --output-hashing=false",
"webpack:server": "webpack --config webpack.server.config.js --progress --colors",
"test": "ng test",
"lint": "ng lint",
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
@@ -3,6 +3,8 @@
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `.angular-cli.json`.
+import 'zone.js/dist/zone-error';
+
export const environment = {
production: false
};