Skip to content

Commit

Permalink
Update for ember-cli --typescript changes
Browse files Browse the repository at this point in the history
Update our blueprint to take account of changes when generating the test-app with `--typescript` ([PR](ember-cli/ember-cli#10283)). The new blueprint now drops ember-cli-typescript and opts into the TS transform of ember-cli-babel, which we must not override.
  • Loading branch information
simonihmig committed Jul 5, 2023
1 parent 82c6763 commit 65dc56d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/test-app-overrides/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function (defaults) {
let app = new EmberApp(defaults, {
autoImport: {
<% if (typescript) {%>'ember-cli-babel': { enableTypeScriptTransform: true },
<% } %>autoImport: {
watchDependencies: ['<%= addonName %>'],
},
});
Expand Down

0 comments on commit 65dc56d

Please sign in to comment.