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

fix(redwood): ensure TagCountFactory is bundled in production #727

Open
wants to merge 1 commit into
base: opencraft-release/redwood.1
Choose a base branch
from

Conversation

Agrendalath
Copy link
Member

@Agrendalath Agrendalath commented Jan 7, 2025

This is a Redwood backport of openedx#36136.

Private-ref: BB-9480

@Agrendalath Agrendalath self-assigned this Jan 7, 2025
@Agrendalath Agrendalath changed the title fix(xblock): ensure TagCountFactory is bundled in production fix(redwood): ensure TagCountFactory is bundled in production Jan 7, 2025
Remove the `static:webpack` directive and use `add_webpack_js_to_fragment`
to properly include TagCountFactory in production. The previous solution
did not correctly bundle this factory, causing the `ReferenceError:
TagCountFactory is not defined` JS error in the Studio preview.
@Agrendalath Agrendalath force-pushed the agrendalath/fix-studio-preview-redwood branch from 57ac262 to d4e574f Compare January 7, 2025 21:08
@Agrendalath Agrendalath marked this pull request as ready for review January 20, 2025 20:42
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