diff --git a/news/5373.bugfix b/news/5373.bugfix new file mode 100644 index 0000000000..beb79439bc --- /dev/null +++ b/news/5373.bugfix @@ -0,0 +1 @@ +Improve importing from the new registry from Volto code itself @sneridagh diff --git a/packages/registry/addon-registry.js b/packages/registry/addon-registry.js index 8353ce18d5..a19a26ce6c 100644 --- a/packages/registry/addon-registry.js +++ b/packages/registry/addon-registry.js @@ -10,6 +10,7 @@ const excludedCompilerOptionsPaths = [ '@plone/volto/*', '@plone/volto-slate/*', '@plone/registry/*', + '@plone/registry', '@root/*', ]; diff --git a/tsconfig.json b/tsconfig.json index cc5b222113..57a9460ba5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,6 +19,7 @@ "@plone/volto/*": ["./src/*"], "@plone/volto-slate/*": ["./packages/volto-slate/src/*"], "@plone/registry/*": ["./packages/registry/src/*"], + "@plone/registry": ["./packages/registry/src"], "@root/*": ["./src/*"] } },