mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(e2e): remove experimental deeplink arg, add deepLinksDir
This commit is contained in:
@ -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) {
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user