Open Duder-onomy opened 6 years ago
@lukemelia is this the same basic issue that you were mentioning to me tonight after Ember NYC?
@rwjblue the repro steps match; the specific error that I saw is different, but it was on ember-cli 2.18. I'm not sure if it is triggered by addons with babel plugins, but that is certainly possible.
(please let me know if this belongs somewhere else)
When I attempt to work on a ember addon by
yarn link
ornpm link
babel cannot resolve plugins.Steps to reproduce:
ember new
git clone git@github.com:imgix/ember-cli-imgix.git
npm link
in the addons dir.npm link <addon name>
in the newly created ember app.ember serve
Observe that ember cannot resolve the babel plugins.
My feeling is that it has something to do with: https://github.com/babel/babel-loader/issues/149#issuecomment-320581223 But I really don't know.
You might see something like:
My current workaround is to push the addon and consume it by commit hash.
Output from
ember version --verbose && npm --version && yarn --version
: