Ng not ejected anymore
This commit is contained in:
9
src/environments/environment.dev.ts
Normal file
9
src/environments/environment.dev.ts
Normal 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'
|
||||
};
|
||||
4
src/environments/environment.local.ts
Normal file
4
src/environments/environment.local.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const CONF_LOCAL = {
|
||||
production: false,
|
||||
environment: 'LOCAL'
|
||||
};
|
||||
4
src/environments/environment.prod.ts
Normal file
4
src/environments/environment.prod.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const CONF_PROD = {
|
||||
production: true,
|
||||
environment: 'PROD'
|
||||
};
|
||||
@@ -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
|
||||
};
|
||||
@@ -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
|
||||
};
|
||||
Reference in New Issue
Block a user