Skip to content

Commit c9dab34

Browse files
majo44hansl
authored andcommitted
feat(@angular-devkit/core): support of tsx files in aot mode (#11407)
1 parent b9d8eed commit c9dab34

File tree

1 file changed

+1
-1
lines changed
  • packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/typescript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export function getAotConfig(
110110
});
111111
}
112112

113-
const test = /(?:\.ngfactory\.js|\.ngstyle\.js|\.ts)$/;
113+
const test = /(?:\.ngfactory\.js|\.ngstyle\.js|\.tsx?)$/;
114114

115115
return {
116116
module: { rules: [{ test, use: loaders }] },

0 commit comments

Comments
 (0)