I tested over on that branch locally by editing the node_modules directly.
The test suite here in ember-cli-babel can't be trusted because @babel/plugin-transform/class-static-block was picked up automatically due to how bad yarn@v1's hoisting is -- the static-block plugin was resolved via @babel/preset-env -- preset-env does not inherently provide static-blocks -- it must be configured when we compile away class properties.
If this repo were to switch to using a real package manager, the the static test would fail without the corresponding change in lib/ember-plugins.js
Found this issue while working on: https://github.com/ember-template-imports/ember-template-imports/pull/187
I tested over on that branch locally by editing the node_modules directly.
The test suite here in ember-cli-babel can't be trusted because
@babel/plugin-transform/class-static-block
was picked up automatically due to how bad yarn@v1's hoisting is -- the static-block plugin was resolved via@babel/preset-env
-- preset-env does not inherently provide static-blocks -- it must be configured when we compile away class properties.If this repo were to switch to using a real package manager, the the static test would fail without the corresponding change in
lib/ember-plugins.js