-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Production builds fail on Uglify step when TypeScript target is ES6 #883
Comments
Looks like UglifyJS doesn't support ES6 minification.
I've tried disabling minification for now, but removing the Would be nice if we used a minifier that supports ES2015+, though! |
Has anyone got this working properly? |
@jamesond, I haven't tried it yet, but it seems the way to go is to setup Babili. I think the easiest way is probably to disable minification in |
you could look @ this pr #864 |
How does one use the new terser code? Do I need to manually go in and change some things or will the aurelia-cli have it built in soon? |
It's going to be release in next cli version. You need to change nothing in code, it's all handled in cli. If you want to try now, use |
I'm submitting a bug report
0.32.0
Please tell us about your environment:
Operating System:
Ubuntu 16.04
Node Version:
8.9.1
5.5.1
Browser:
N/A
Language:
TypeScript 2.8.3
Loader/bundler:
RequireJS
Current behavior:
Build should succeed.
Build fails:
This error seems oddly similar to aurelia/skeleton-navigation#797, but the project skeleton used is completely different.
The text was updated successfully, but these errors were encountered: