#395 - require is not defined

Add support for @angular-builders/custom-webpack
Setup environment target based on env params
Remove direct code changeing scripts postinstall/postinstall-web
This commit is contained in:
Yuri Cherepanov
2019-10-29 13:49:15 +02:00
parent 93d5a8caea
commit c4b2cb6733
6 changed files with 71 additions and 44 deletions

View File

@@ -0,0 +1,9 @@
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `index.ts`, but if you do
// `ng build --env=prod` then `index.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `.angular-cli.json`.
export const AppConfig = {
production: false,
environment: 'DEV'
};