mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 05:52:57 +00:00
refactor: speed up the pipeline by directly deploying the review app from the build step
This commit is contained in:
11
frontend/app/ngcc-postinstall.mjs
Normal file
11
frontend/app/ngcc-postinstall.mjs
Normal file
@@ -0,0 +1,11 @@
|
||||
import {process} from '@angular/compiler-cli/ngcc';
|
||||
import path from 'path';
|
||||
|
||||
const legacyViewEngineLibraries = [
|
||||
['@awesome-cordova-plugins', 'calendar'],
|
||||
['@ionic-native', 'core'],
|
||||
];
|
||||
|
||||
for (const basePath of legacyViewEngineLibraries) {
|
||||
process({basePath: path.resolve(path.join('node_modules', ...basePath))});
|
||||
}
|
||||
Reference in New Issue
Block a user