-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 es6 syntax in an ember-cli (v0.1.12) addon breaks builds and prevents tests from running #3174
Comments
thanks for the bug report, we are aware of this one and #3166 will help address this. |
#3166 addresses the underlying issue. Currently addons cannot use addons to add preprocessor steps (in this case we need ember-cli-6to5 in the addon to preprocess the JS). |
should be fixed now. |
@poteto - Please test with master and let us know if you run into any issues.... |
I'm getting this output in the console after upgrading to 2.0 in an addon project:
|
I'm building an
ember-cli
addon withv0.1.12
, and encountered problems when I use es6 syntax.As a test, I initialized a new empty
ember-addon
, and added one component incomponents/component-name.js
. No other changes were made.I get this error:
ember test -s
with es6 syntax:It builds and tests run fine with no es6.
Again, this was tested with a blank addon and only one component file in
addon/components/flash-message.js
.The text was updated successfully, but these errors were encountered: