-
Notifications
You must be signed in to change notification settings - Fork 2
Building with '--prod' fails #198
Comments
@tobiasschweizer this sounds like JDN. Do you maybe know what the problem could be? |
Why you're using the --prod flag? It works with
The production flag is already set in environment.prod.ts. I know there are some issues with the --prod flag in angular-cli. But your command should be the same as mine. It's described here: https://www.npmjs.com/package/angular-cli#creating-a-build |
Because this is what should be used when building for production. Please see https://github.com/angular/angular-cli/wiki/build#--dev-vs---prod-builds I know it works without the |
I don't think that this does anything. It's simply for easy checking of the environment during runtime, e.g.:
or
|
I think that this is related to angular/angular#15763. Apparently, defining |
to be fixed by dhlab-basel/JDNConvertibleCalendarDateAdapter#5 |
final build command: |
interesting view: This is a screenshot of a clickable map which you can generate with the following steps:
The |
btw. --env doesn't exist anymore in Angular 6 cli. It's now --configuration or -c |
Building Salsah2 for production
fails with the following error:
The text was updated successfully, but these errors were encountered: