Ng not ejected anymore

This commit is contained in:
Maxime GRIS
2018-02-25 22:01:57 +01:00
parent 1ae6f7aedc
commit 67ab31c458
26 changed files with 473 additions and 733 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 CONF_DEV = {
production: false,
environment: 'DEV'
};

View File

@@ -0,0 +1,4 @@
export const CONF_LOCAL = {
production: false,
environment: 'LOCAL'
};

View File

@@ -0,0 +1,4 @@
export const CONF_PROD = {
production: true,
environment: 'PROD'
};

View File

@@ -1,5 +0,0 @@
// This file contains production variables. (When you work in PROD MODE)
// This file is use by webpack. Please don't rename it and don't move it to another directory.
export const environment = {
production: true
};

View File

@@ -1,5 +0,0 @@
// This file contains development variables. (When you work in DEV MODE)
// This file is use by webpack. Please don't rename it and don't move it to another directory.
export const environment = {
production: false
};