Skip to content

Commit d88c998

Browse files
Merge pull request #25 from ember-cli/nvp/fix-babel-cofigs
Fix babel configs / sync typescript options
2 parents 46c82db + 4e95a41 commit d88c998

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

files/babel.config.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const macros = buildMacros();
55
module.exports = {
66
plugins: [<% if (typescript) { %>
77
['@babel/plugin-transform-typescript', {
8+
allExtensions: true,
89
allowDeclareFields: true,
910
onlyRemoveTypeImports: true,
1011
}],<% } %>

files/babel.publish.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ module.exports = {
44
'@babel/plugin-transform-typescript',
55
{
66
allExtensions: true,
7-
onlyRemoveTypeImports: true,
87
allowDeclareFields: true,
8+
onlyRemoveTypeImports: true,
99
},
1010
],<% } %>
1111
[

0 commit comments

Comments
 (0)