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

Added webpack template tags to bootstrap migration tool #35391

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

orangejenny
Copy link
Contributor

Technical Summary

This will ensure that js_entry_b3 gets renamed to js_entry when a B3 file is migrated, and it adds js_entry/js_entry_b3 to automated checks for B3/B5 consistency within files.

Safety Assurance

Safety story

This is a config change to an internal engineering tool.

Automated test coverage

yes

QA Plan

no

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@orangejenny orangejenny added the product/invisible Change has no end-user visible impact label Nov 18, 2024
Copy link
Contributor

@millerdev millerdev left a comment

Choose a reason for hiding this comment

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

Automation FTW ⚙️ ⭐

Approving in case I misunderstood the message. If not, it should be changed before merging.

issues.append("This template references a bootstrap 3 webpack entry point. "
"It should also use js_entry instead of js_entry_b3.")
if tag == "js_entry":
issues.append("This template references a bootstrap 3 webpack entry point.")
Copy link
Contributor

Choose a reason for hiding this comment

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

js_entry is BS5, right? Is this message correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, webpack uses js_entry for B5 and js_entry_b3 for B3, whereas requirejs uses requirejs_main for B3 and requirejs_main_b5 for B5

@orangejenny orangejenny merged commit e27b279 into master Nov 19, 2024
13 checks passed
@orangejenny orangejenny deleted the jls/bootstrap-migration-js-entry branch November 19, 2024 20:45
@orangejenny orangejenny mentioned this pull request Nov 20, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/invisible Change has no end-user visible impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants