chore(e2e): remove experimental deeplink arg, add deepLinksDir

This commit is contained in:
Dan Bucholtz
2017-03-21 21:19:31 -05:00
parent e0b09615bd
commit a63f760786
2 changed files with 4 additions and 4 deletions

View File

@ -190,18 +190,20 @@ export function runWebpack(pathToWebpackConfig: string, done: Function) {
export function runAppScriptsServe(testOrDemoName: string, appEntryPoint: string, appNgModulePath: string, srcDir: string, distDir: string, tsConfig: string, ionicAngularDir: string, sassConfigPath: string, copyConfigPath: string, watchConfigPath: string) {
console.log('Running ionic-app-scripts serve with', testOrDemoName);
const deepLinksDir = dirname(dirname(appNgModulePath));
let scriptArgs = [
'serve',
'--appEntryPoint', appEntryPoint,
'--appNgModulePath', appNgModulePath,
'--deepLinksDir', deepLinksDir,
'--srcDir', srcDir,
'--wwwDir', distDir,
'--tsconfig', tsConfig,
'--readConfigJson', 'false',
'--experimentalParseDeepLinks', 'true',
'--ionicAngularDir', ionicAngularDir,
'--sass', sassConfigPath,
'--copy', copyConfigPath
'--copy', copyConfigPath,
'--enableLint', 'false',
];
if (watchConfigPath) {

View File

@ -57,7 +57,6 @@ export function createWorker(msg: MessageToWorker): any {
// default it to use the test/basic, or test/xyz directory
const deepLinksDir = dirname(dirname(msg.appNgModulePath));
try {
let scriptArgs = [
'build',
@ -68,7 +67,6 @@ export function createWorker(msg: MessageToWorker): any {
'--wwwDir', msg.distDir,
'--tsconfig', msg.tsConfig,
'--readConfigJson', 'false',
'--experimentalParseDeepLinks', 'true',
'--experimentalManualTreeshaking', 'false',
'--experimentalPurgeDecorators', 'false',
'--ionicAngularDir', msg.ionicAngularDir,