Skip to content

Commit

Permalink
Add embroider
Browse files Browse the repository at this point in the history
  • Loading branch information
MinThaMie committed Nov 24, 2023
1 parent e87e148 commit e51bafa
Show file tree
Hide file tree
Showing 5 changed files with 2,625 additions and 293 deletions.
2 changes: 1 addition & 1 deletion blueprints/puzzle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = {
` <LinkTo @route="puzzles.${options.entity.name}">Day ${options.entity.name}</LinkTo>`,
{
after: `Day ${options.entity.name - 1}</LinkTo>\n`,
}
},
);
updateRouter.call(this, 'add', options);
},
Expand Down
1 change: 1 addition & 0 deletions config/ember-cli-update.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"codemodsSource": "ember-app-codemods-manifest@1",
"isBaseBlueprint": true,
"options": [
"--embroider",
"--ci-provider=github"
]
}
Expand Down
9 changes: 8 additions & 1 deletion ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,12 @@ module.exports = function (defaults) {
// Add options here
});

return app.toTree();
const { Webpack } = require('@embroider/webpack');
return require('@embroider/compat').compatBuild(app, Webpack, {
skipBabel: [
{
package: 'qunit',
},
],
});
};
Loading

0 comments on commit e51bafa

Please sign in to comment.