Skip to content

Commit

Permalink
Move the importmap to a folder (#56655)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisherranz authored Nov 29, 2023
1 parent 1239fb6 commit 7a06222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/experimental/interactivity-api/modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function gutenberg_register_interactivity_module() {
// TODO: Load only if the browser doesn't support import maps (https://github.com/guybedford/es-module-shims/issues/371).
wp_enqueue_script(
'es-module-shims',
gutenberg_url( '/build/importmap-polyfill.min.js' ),
gutenberg_url( '/build/modules/importmap-polyfill.min.js' ),
array(),
null,
array(
Expand Down
2 changes: 1 addition & 1 deletion tools/webpack/interactivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module.exports = {
patterns: [
{
from: './node_modules/es-module-shims/dist/es-module-shims.wasm.js',
to: './build/importmap-polyfill.min.js',
to: './build/modules/importmap-polyfill.min.js',
},
],
} ),
Expand Down

1 comment on commit 7a06222

@github-actions
Copy link

Choose a reason for hiding this comment

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

Flaky tests detected in 7a06222.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7038014518
📝 Reported issues:

Please sign in to comment.