Skip to content

Add support for WordPress scriptModule & viewScriptModule #368

@fabiankaegy

Description

@fabiankaegy

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions