Updated latestVersions and babel.config.json
A couple of changes to the blueprint files. In effect, I downstreamed the changes in @embroider/[email protected]
.
- Updated
latestVersions
- Updated
__addonLocation__/babel.config.json
by removing deprecated syntax
You can update your addon's babel.config.json
as shown below:
/* Before: babel.config.json (TS projects) */
{
"presets": [["@babel/preset-typescript"]],
"plugins": [
"@embroider/addon-dev/template-colocation-plugin",
["@babel/plugin-transform-typescript", { "allowDeclareFields": true }],
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-proposal-class-properties"
]
}
/* After: babel.config.json (TS projects) */
{
"presets": [["@babel/preset-typescript"]],
"plugins": [
"@embroider/addon-dev/template-colocation-plugin",
["@babel/plugin-transform-typescript", { "allowDeclareFields": true }],
["@babel/plugin-proposal-decorators", { "version": "legacy" }],
"@babel/plugin-proposal-class-properties"
]
}