@embroider/addon-dev
Advanced tools
Changelog
@embroider/addon-dev
2.0.0 -> 3.0.0
BREAKING: @embroider/addon-template/template-transform-plugin
is removed
because babel-plugin-ember-template-compilation >= 2.0.0
now directly supports
source-to-source transformation.
This plugin was used to run any custom AST transformations on your templates before publishing. To replace it:
Add babel-plugin-ember-template-compilation@^2.0.0
as a devDependency.
Make sure you also have a devDependency on ember-source
, so we have a template compiler.
Update the babel config like:
plugins: [
- [
- '@embroider/addon-dev/template-transform-plugin',
- {
- astTransforms: [
- ...yourPluginsHere
- ]
- }
- ],
+ [
+ 'babel-plugin-ember-template-compilation',
+ {
+ compilerPath: 'ember-source/dist/ember-template-compiler',
+ targetFormat: 'hbs',
+ transforms: [
+ ...yourPluginsHere
+ ]
+ }
+ ]
]
See https://github.com/emberjs/babel-plugin-ember-template-compilation for the complete docs on these options.
Changelog
v1.8.1 (2022-07-01)
addon-dev
compat
ember-get-config
compat adapter when >= v2.1.0 (@bertdeblock)macros
Changelog
v1.8.0 (2022-06-09)
addon-dev
, core
, shared-internals
webpack
addon-dev
rollup-app-reexports
(@simonihmig)core
compat
Changelog
v1.7.0 (2022-05-23)
addon-dev
macros
webpack
addon-dev
Changelog
v1.6.0 (2022-04-07)
addon-dev
, compat
, core
, hbs-loader
, shared-internals
, webpack
compat
addon-dev
core
, test-setup
, util
master
to main
in links (@bertdeblock)macros
compat
, core
, router