#64137 closed defect (bug) (fixed)
Interactivity API Router's full-page script module should not be bundled in WordPress
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Interactivity API | Keywords: | has-patch |
| Focuses: | Cc: |
Description
A recent update to the version of interactivity-api-router installed by WordPress causes a build to include the full-page.js script module of that package, but that particular module is experimental.
There is not currently a way to build a script module via wpScriptModuleExports while also marking it experimental. As an interim solution that we don't expect to need very often, we intend to hard-code an exclusion in the WordPress build to ensure this file is not bundled until its no longer experimental.
Change History (3)
This ticket was mentioned in PR #10396 on WordPress/wordpress-develop by @samueljseay.
5 weeks ago
#1
- Keywords has-patch added
Note: See
TracTickets for help on using
tickets.
The full-page wpScriptModuleExport defined in interactivity-router should not be bundled in Wordpress core yet as it is experimental. There is no mechanism in wpScriptModuleExports right now that supports building a script module but not including it in core. Since this is likely to be a rare instance we have opted to hard-code an exclusion in core's build until this module is no longer experimental.
Trac ticket: https://core.trac.wordpress.org/ticket/64137