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

Add support for WordPress scriptModule & viewScriptModule #368

Closed
fabiankaegy opened this issue Feb 18, 2024 · 1 comment
Closed

Add support for WordPress scriptModule & viewScriptModule #368

fabiankaegy opened this issue Feb 18, 2024 · 1 comment
Assignees

Comments

@fabiankaegy
Copy link
Member

In WordPress/gutenberg#57461 wp-scripts introduced special handling for the scriptModule & viewScriptModule properties in block.json.

This new handling causes the scripts registered through that mechanism to get output as js modules.

In order to support the interactivity API we need to mirror this config in toolkit.

@fabiankaegy
Copy link
Member Author

@Antonio-Laguna @nicholasio I think this here should be a priority for us to get it integrated in toolkit close to when WordPress 6.5 launches (Mach 26th)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants