mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
feat(@angular-devkit/core): support of tsx files in aot mode (#11407)
This commit is contained in:
parent
b9d8eed4a7
commit
c9dab34fbb
@ -110,7 +110,7 @@ export function getAotConfig(
|
||||
});
|
||||
}
|
||||
|
||||
const test = /(?:\.ngfactory\.js|\.ngstyle\.js|\.ts)$/;
|
||||
const test = /(?:\.ngfactory\.js|\.ngstyle\.js|\.tsx?)$/;
|
||||
|
||||
return {
|
||||
module: { rules: [{ test, use: loaders }] },
|
||||
|
Loading…
x
Reference in New Issue
Block a user