Skip to content

Introduced Embroider + Webpack - #1227

Merged
ijlee2 merged 5 commits into
ember-learn:mainfrom
ijlee2:introduce-webpack
Sep 8, 2026
Merged

ijlee2 merged 5 commits into
ember-learn:mainfrom
ijlee2:introduce-webpack

Conversation

@ijlee2

@ijlee2 ijlee2 commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Background

Completes the series of maintenance work since #1215.

What changed?

  • Replaced classic build with Embroider + Webpack.
  • Patched ember-page-title to reduce scope.
  • Removed ember-responsive-image to reduce scope.
  • Updated ember-source from 6.8.4 to 6.12.0.
  • Updated ember-data from 5.7.0 to 5.8.2.

@netlify

netlify Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ember-website ready!

Name Link
🔨 Latest commit bd3d682
🔍 Latest deploy log https://app.netlify.com/projects/ember-website/deploys/6a9ecd4414f9df0008c785e9
😎 Deploy Preview https://deploy-preview-1227--ember-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread app/config/environment.ts
Comment on lines -4 to -9
const config = loadConfigFromMeta('ember-website') as unknown;

assert(
'config is not an object',
typeof config === 'object' && config !== null,
);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ember-fastboot seemed to cause this assert to throw an error. I replaced the .ts file with a .d.ts for simplicity.

Comment on lines -17 to -19
titleDidUpdate(pageTitle: string): void {
this.headData.pageTitle = pageTitle;
}

@ijlee2 ijlee2 Sep 7, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contrary to the documentation's claim, the titleDidUpdate hook no longer seemed to get called in Embroider + Webpack. I patched the page-title service instead.

Comment thread config/environment.js
Comment on lines -28 to -30
'ember-cli-mirage': {
enabled: false,
},

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused.

Comment thread package.json
"ember-qunit": "^9.1.0",
"ember-resolver": "^13.2.0",
"ember-responsive-image": "^4.0.0",
"ember-source": "~6.8.0",

@ijlee2 ijlee2 Sep 7, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While ember-responsive-image provides @responsive-image/ember and @responsive-image/webpack, it had made a couple of breaking changes.

  • The configuration option's type has changed. Not all options may still be supported.
  • The <ResponsiveImage> no longer accepts a string for @src. (We may need to dynamically import images.)

Since the addon was only used in two places (to show mascots and team members), I decided to remove the addon to reduce scope and the number of files that would need to be reviewed.

We can re-introduce responsive-image later if it's really needed.

Comment thread config/fastboot.js
? TransformStream
: require('node:stream/web').TransformStream,
Headers: typeof Headers !== 'undefined' ? Headers : undefined,
structuredClone,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ember-data@5.8.2 depends on structuredClone.

@ijlee2
ijlee2 marked this pull request as ready for review September 7, 2026 14:45
@ijlee2
ijlee2 requested review from a team, NullVoxPopuli and jaredgalanis September 7, 2026 14:46
@ijlee2
ijlee2 merged commit e92bc44 into ember-learn:main Sep 8, 2026
5 checks passed
@ijlee2
ijlee2 deleted the introduce-webpack branch September 8, 2026 12:48
@ijlee2 ijlee2 mentioned this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant