Open
Description
What version of @strapi/sdk-plugin
are you using?
- NPM 11
- Node 22
- React 18.3.1
- @strapi/sdk-plugin 5.3.0
What's Wrong?
I noticed that the admin build of strapi-plugin-navigation includes the entire lodash dependency. I think this related to some kind of configuration in @strapi/sdk-plugin and/or @strapi/pack-up.
See VirtusLab-Open-Source/strapi-plugin-navigation#509 for more discussion.
To Reproduce
- Checkout https://github.com/VirtusLab-Open-Source/strapi-plugin-navigation
yarn
+yarn build
(which usesstrapi-plugin build
)- Notice that
dist/admin/index.js
anddist/admin/index.mjs
contain the source of the lodash dependency.
Expected Behaviour
All dependencies should be external.