Closed alexlafroscia closed 5 years ago
I've been digging into this issue all morning and haven't made any headway yet. Partly for my own sake, I'll leave some notes:
production builds
, something is adding both the decorators
and decorators-legacy
babel plugins. This only happens in production
builds, not development
buildsproduction
and development
are entirely different. There are plugins included in the production
builds that are being included from a currently-unknown source. I'm trying to track down where they are being included from@ember-decorators/babel-transforms
, which provides the decorator transform to this addon, does not itself have this same issue. I am not sure why that would be, since @ember-decorators/argument
does not configure the decorator transforms in any wayparent.options.babel.plugins
Aha! babel-plugin-filter-imports
is the culprit
@pzuraq you added the original inclusion of the decorators
plugin to that -- why does the import filter care about decorators?
I opened this PR on babel-plugin-filter-imports
in hopes of moving this along.
https://github.com/ember-cli/babel-plugin-filter-imports/pull/64
With the update to babel-plugin-filter-imports
that was just released, I think this should actually be ready to go!
As talked about in #75, this drops Babel 6 support entirely in favor of Babel 7