Skip to content

Commit

Permalink
feedback: Updated the code sample for ember-engines (>= v0.8.13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijlee2 committed Feb 24, 2023
1 parent c17b591 commit 720ed88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ module.exports = function (defaults) {
```js
/* index.js */

const EngineAddon = require('ember-engines/lib/engine-addon');
const { buildEngine } = require('ember-engines/lib/engine-addon');

module.exports = EngineAddon.extend({
module.exports = buildEngine({
name: require('./package').name,

'ember-cli-babel': {
Expand Down

0 comments on commit 720ed88

Please sign in to comment.