Skip to content

Commit

Permalink
Update ts-app-template to match app-template
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Feb 11, 2025
1 parent 4d726b6 commit a6c585f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/ts-app-template/ember-cli-build.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
'use strict';

const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const { maybeEmbroider } = require('@embroider/test-setup');
const { compatBuild } = require('@embroider/compat');

module.exports = function (defaults) {
module.exports = async function (defaults) {
const { buildOnce } = await import('@embroider/vite');
const app = new EmberApp(defaults, {
'ember-cli-babel': { enableTypeScriptTransform: true },
});

return maybeEmbroider(app);
return compatBuild(app, buildOnce);
};

0 comments on commit a6c585f

Please sign in to comment.