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 and derekblank committed Dec 7, 2023
1 parent f0c1688 commit 005d03b
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

0 comments on commit 005d03b

Please sign in to comment.