Describe the bug
I changed my compilerOptions to es5 to support IE11 browser and when I run ng serve following error occurs
TypeError: node_modules\@casl\angular__ivy_ngcc__\dist\es6\index.js: Column must be greater than or equal to 0, got -21


To Reproduce
Steps to reproduce the behavior:
Angular Version: 9.1.2
"@angular/animations": "~9.1.2",
"@angular/cdk": "^9.2.1",
"@angular/common": "~9.1.2",
"@angular/compiler": "~9.1.2",
"@angular/core": "~9.1.2",
Expected behavior
Build without error and also should support IE11 browser.
CASL Version
@casl/ability - 4.1.5
@casl/angular - 4.1.4
Environment:
Node Version: 12.16.1
Kindly check it out as I am having tight timeline
Looks like a duplicate of #382
Unfortunately, I can't reproduce this issue but fixed sourcemaps to point to TypeScript sources instead of intermediate transformation. hopefully this fixes the issue.
Let me know if not and I'll reopen the issue.
I used this app to reproduce the issue.
Thanks for the quick fix. Working good now.
Most helpful comment
Thanks for the quick fix. Working good now.