I am developing a website using Typescript and try to avoid ECMASCRIPT > ES5 because the website that I develop is meant to run on an Opera 11 browser. For this, I try to set the compilerOptions
- target
in tsconfig.json
to a low version, in this scenario to ES3
.
Initially the following error popped up:
Uncaught ReferenceError: System is not defined
Which I fixed by including the file I downloaded from https://github.com/systemjs/systemjs.
Is it true that system.register should not be generated?
Let me know if something is not clear. Thank you in advance!