Skip to content

Commit

Permalink
Moving to the plugin resolves the declare fields issue
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Sep 27, 2023
1 parent 7519e96 commit c19f9d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions files/__addonLocation__/babel.config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
<% if (typescript) { %> "presets": [["@babel/preset-typescript", { "allExtensions": true, "onlyRemoveTypeImports": true, "allowDeclareFields": true }]],
<% } %>
"plugins": [
"@embroider/addon-dev/template-colocation-plugin",
<% if (typescript) { %> ["@babel/plugin-transform-typescript", { "allExtensions": true, "onlyRemoveTypeImports": true, "allowDeclareFields": true }],
<% } %> "@embroider/addon-dev/template-colocation-plugin",
"@babel/plugin-transform-class-static-block",
["babel-plugin-ember-template-compilation", {
"targetFormat": "hbs",
Expand Down

0 comments on commit c19f9d5

Please sign in to comment.