diff --git a/packages/block-library/src/frontend.js b/packages/block-library/src/frontend.js index 0393a9ca20144..00341e680b614 100644 --- a/packages/block-library/src/frontend.js +++ b/packages/block-library/src/frontend.js @@ -1,4 +1,6 @@ /** * Internal dependencies */ -import './navigation/modals'; +import * as navigationModals from './navigation/modals'; +// With no export this only works on a dev build. +export { navigationModals };