mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(demos): update gitignore, clean up app.module.ts build errors
update gitignore, clean up app.module.ts build errors
This commit is contained in:
@ -4,6 +4,7 @@ import { join } from 'path';
|
||||
// Names
|
||||
export const COMPONENTS_NAME = 'components';
|
||||
export const DIST_NAME = 'dist';
|
||||
export const DEMOS_NAME = 'demos';
|
||||
export const E2E_NAME = 'e2e';
|
||||
export const PACKAGE_NAME = 'ionic-angular';
|
||||
export const SCRIPTS_NAME = 'scripts';
|
||||
@ -17,6 +18,8 @@ export const ES_MODULE = 'es2015';
|
||||
|
||||
// File Paths
|
||||
export const PROJECT_ROOT = join(__dirname, '../..');
|
||||
export const DEMOS_ROOT = join(PROJECT_ROOT, DEMOS_NAME);
|
||||
export const DEMOS_SRC_ROOT = join(DEMOS_ROOT, SRC_NAME);
|
||||
export const DIST_ROOT = join(PROJECT_ROOT, DIST_NAME);
|
||||
export const DIST_E2E_ROOT = join(DIST_ROOT, E2E_NAME);
|
||||
export const DIST_E2E_COMPONENTS_ROOT = join(DIST_E2E_ROOT, COMPONENTS_NAME);
|
||||
@ -26,6 +29,7 @@ export const DIST_VENDOR_ROOT = join(DIST_ROOT, VENDOR_NAME);
|
||||
export const NODE_MODULES_ROOT = join(PROJECT_ROOT, NODE_MODULES);
|
||||
export const SCRIPTS_ROOT = join(PROJECT_ROOT, SCRIPTS_NAME);
|
||||
export const SRC_ROOT = join(PROJECT_ROOT, SRC_NAME);
|
||||
|
||||
export const SRC_COMPONENTS_ROOT = join(SRC_ROOT, COMPONENTS_NAME);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user