From 5a3e177e68f8681ce4a5eb8eaa07de497b129b29 Mon Sep 17 00:00:00 2001 From: Stephen Hazleton Date: Wed, 25 Jan 2017 10:05:27 +1100 Subject: [PATCH] Remove #135, it's been obsolute since ionic went back to webpack (and we moved to ng-cli) https://github.com/driftyco/ionic-cli/issues/1205 --- src/app/app.component.ts | 2 -- src/environments/environment.prod.ts | 3 --- src/environments/environment.ts | 8 -------- 3 files changed, 13 deletions(-) delete mode 100644 src/environments/environment.prod.ts delete mode 100644 src/environments/environment.ts diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 747811e..05a76da 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -2,7 +2,6 @@ import { Component, ViewChild } from '@angular/core'; import { Platform, MenuController, Nav } from 'ionic-angular'; import { StatusBar, Splashscreen } from 'ionic-native'; import { ClickerList, Page2 } from '../pages'; -import { environment } from '../environments/environment'; @Component({ templateUrl: './app.html', @@ -37,7 +36,6 @@ export class ClickerApp { // Here you can do any higher level native things you might need. StatusBar.styleDefault(); Splashscreen.hide(); - console.log('production: ' + environment.production); }); } diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts deleted file mode 100644 index b459252..0000000 --- a/src/environments/environment.prod.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const environment: any = { - production: true, -}; diff --git a/src/environments/environment.ts b/src/environments/environment.ts deleted file mode 100644 index 3d87195..0000000 --- a/src/environments/environment.ts +++ /dev/null @@ -1,8 +0,0 @@ -// The file contents for the current environment will overwrite these during build. -// The build system defaults to the dev environment which uses `environment.ts`, but if you do -// `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`. - -export const environment: any = { - production: false, -};