build with aot and global options not working
ngx-mask version - 6.2.8 angular version - 6.1.9
app.module.ts
imports: [
NgxMaskModule.forRoot({
patterns: {
D: {
pattern: new RegExp('\\d'),
},
},
}),
],
in template:
<input mask="DDD">
When I run ng serve --aot mask not working correctly, input only accepts character 'D'.
Cusotm global config in MaskService looks like this:

Notice there is no pattern field.
If I build application without aot - everything works fine.
@LaserUnicorns Hi. We fixed this in new version 6.3.9
Still not working in 6.3.11. Seems like angular compiler strips regexes in aot mode.
Still not working in latest version 6.5.17
Any news? Still not working in 7.3.3
Same thing, not working in ngx-mask v8.0.5 - even when using the built-in mask="comma_separator".
I'm running Angular v7.2.6