Skip to content

Commit

Permalink
Embroider optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
MinThaMie committed Nov 23, 2023
1 parent 3cab42f commit e16b6bc
Show file tree
Hide file tree
Showing 4 changed files with 6,164 additions and 6,674 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# dei-bingo
# DEI Bingo

This README outlines the details of collaborating on this Ember application.
A short introduction of this app could easily go here.
Diversity and Inclusion are essential for fostering a more equitable and harmonious workplace. This app is your ticket to becoming an active ally in the realm of diversity and inclusion!

[![Netlify Status](https://api.netlify.com/api/v1/badges/a030c722-8eed-4f4e-9d2c-4e9cb802438d/deploy-status)](https://app.netlify.com/sites/diversity-equity-inclusion/deploys)

## Prerequisites

Expand Down
10 changes: 9 additions & 1 deletion ember-cli-build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const { Webpack } = require('@embroider/webpack');

module.exports = function (defaults) {
const app = new EmberApp(defaults, {
Expand All @@ -11,5 +12,12 @@ module.exports = function (defaults) {

app.import('node_modules/modern-normalize/modern-normalize.css');

return app.toTree();
return require('@embroider/compat').compatBuild(app, Webpack, {
staticAddonTestSupportTrees: true,
staticAddonTrees: true,
staticHelpers: true,
staticModifiers: true,
staticComponents: true,
staticEmberSource: true,
});
};
Loading

0 comments on commit e16b6bc

Please sign in to comment.