mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +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) {
|
||||
|
Reference in New Issue
Block a user