Skip to content

Commit 42d0901

Browse files
committed
Update for ember-cli --typescript changes
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.
1 parent 90b95fa commit 42d0901

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

files/test-app-overrides/ember-cli-build.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app');
44

55
module.exports = function (defaults) {
66
let app = new EmberApp(defaults, {
7-
autoImport: {
7+
<% if (typescript) {%>'ember-cli-babel': { enableTypeScriptTransform: true },
8+
<% } %>autoImport: {
89
watchDependencies: ['<%= addonName %>'],
910
},
1011
});

0 commit comments

Comments
 (0)