0

We have a Tizen Angular 12 project its ECMA target "target": "es5" & "module": "es2020"

When we try to upgrade to Ang 15 upwards we get warning

typescript compilar option target and usedefineforclassfields are set to es2022 and false respectively by angular cli

And app not rendering. how to target es5?

Tried to install karma libraries & .browserlist file but same error

1 Answer 1

0

Yes, you need to to add the supported devices on the .browserslistrc file.

Sign up to request clarification or add additional context in comments.

2 Comments

I already did but i am getting below error "typescript compilar option target and usedefineforclassfields are set to es2022 and false respectively by angular cli" i need CLI to target ES5 or ES6 instead of es2022 to avoid below error on browser failed to load module script the server responded with a non javascript mime type of "". strict mime type checking is enforced for module script per html spec site:stackoverflow.com
You can dismiss this warning. Or better set the value to what's is mentionned it won't affect the final output.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.