Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the alias-building out of the createWebpackConfig function #17691

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

Snuffleupagus
Copy link
Collaborator

  • Move the alias-building out of the createWebpackConfig function

    Over time, as we've started relying more and more on import maps, the number of aliases have increased a lot. This is now affecting the size and readability of createWebpackConfig, which was already fairly large and complex, hence moving the aliases to their own function should help improve things a little bit.

  • Use more optional chaining, and other modern JS, in the building code

Over time, as we've started relying more and more on import maps, the number of aliases have increased a lot. This is now affecting the size and readability of `createWebpackConfig`, which was already fairly large and complex, hence moving the aliases to their own function should help improve things a little bit.
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/ade682f4cbde7f6/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/469d18e302bb3b8/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/469d18e302bb3b8/output.txt

Total script time: 24.79 mins

  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 23
  different first/second rendering: 2

Image differences available at: http://54.241.84.105:8877/469d18e302bb3b8/reftest-analyzer.html#web=eq.log

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/ade682f4cbde7f6/output.txt

Total script time: 39.07 mins

  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 4

Image differences available at: http://54.193.163.58:8877/ade682f4cbde7f6/reftest-analyzer.html#web=eq.log

@Snuffleupagus
Copy link
Collaborator Author

@calixteman Gentle review ping?

@timvandermeij timvandermeij merged commit e8da59c into mozilla:master Mar 20, 2024
9 checks passed
@timvandermeij
Copy link
Contributor

Thanks!

@timvandermeij timvandermeij removed the request for review from calixteman March 20, 2024 13:17
@Snuffleupagus Snuffleupagus deleted the createWebpackAlias branch March 22, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants