Downstreamed changes from @embroider/addon-blueprint@2.11.0
Important
Installing ember-container-query@v5.0.4
can result in the installation of decorator-transforms@v1.0.2
, which seems to have a regression.
If you encounter the error The @action decorator must be applied to methods when used in native classes
, you may need to pin decorator-transforms
to v1.0.1
for now.
By replacing a few Babel plugins with decorator-transforms
, we can ship fewer bytes and avoid the need to transpile other class features.
Before | After | |
---|---|---|
Package size | 15.7 kB | 14.6 kB |
Unpacked size | 54.3 kB | 49.6 kB |
Total files | 40 | 38 |