Closed WillsonSmith closed 7 years ago
Thanks for the issue! This is a known issue and we have one open already in the web-component repo. The problem is that uglify can't handle es2015+. We're working on it!
Thanks! I'll close this and leave a link to the issue in web-component. https://github.com/glimmerjs/glimmer-web-component/issues/7
This is possibly more well suited for the ember-cli repo, but is directly related to Glimmer.
When starting a new glimmer app with
It is not possible to build with the
--environment production
flag.My theory is that the code is not being transpiled before hitting uglify, so uglify doesn't know how to parse it.
Build fail message:
steps to reproduce
ember new my-app -b @glimmer/blueprint --web-component
ember build --environment production
expected: would build actual: fails to build
ember build
with no env works, as well as usingember build --environment development