-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using BabelJs to transpile lib to es5 #9126
Comments
The CLI does not transpile third-party libraries. Two potential options are to either contact the library developer and request an ES5 version; or attempt to transpile the library directly. As this is outside of the domain of the CLI itself, asking on a site such as StackOverflow would be a more appropriate venue. If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation. |
Is there no way to custom module loading with angular cli? Custom options with webpack for example? Thanks |
You can run |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm using a third party library that targets es2015 within my angular app. One of my app requirements is to run on IE 11. This third party library has some incompatible language features for IE 11:
I saw that BabelJS could transpile this javascript into a compatible version for ie 11. Is there any way to do this using angular cli? Are there some examples?
Thanks
Versions
Angular CLI: 1.6.3
Node: 8.9.3
OS: win32 x64
Angular: 5.1.2
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic, router
@angular/cli: 1.6.3
@angular-devkit/build-optimizer: 0.0.36
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.42
@ngtools/json-schema: 1.1.0
@schematics/angular: 0.1.11
@schematics/schematics: 0.0.11
typescript: 2.4.2
webpack: 3.10.0
The text was updated successfully, but these errors were encountered: