We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ecf777 commit 7e260b6Copy full SHA for 7e260b6
packages/cli/src/angular/migrations/standalone/0004-migrate-import-statements.ts
@@ -10,6 +10,10 @@ export const migrateImportStatements = async (
10
) => {
11
// Get all typescript source files in the project and update any @ionic/angular imports to @ionic/angular/standalone
12
for (const sourceFile of project.getSourceFiles()) {
13
+ if (!sourceFile.getFilePath().endsWith(".ts")) {
14
+ continue;
15
+ }
16
+
17
let hasChanges = false;
18
19
const importDeclarations = sourceFile.getImportDeclarations();
0 commit comments