-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NGRM] - using addon-redux enforces dependency on @storybook in production #720
Comments
Thanks for the issue report @mirisb - and agree with you, it feels strange to have it in dependencies (being a storybook addon). We moved it from |
#523 (ie. the dependency on addon-redux) was always there. We were the first ones to use subsurface-components as an npm dependency, which is why I filed the issue. |
BTW, I just created a PR #722 to remove test and storybook related files from the generated package. This PR does not fix the current issue though. |
…book in production Closes equinor#720
…book (#832) * Moved addon-redux to devDependenies and resolved dependency on @storybook in production Closes #720 * Used require for conditionally loading of module * added package-lock Co-authored-by: Shadab Khan <[email protected]> Co-authored-by: Håvard Bjerke <[email protected]>
addon-redux is a Storybook addon that helps when building stories using components that use redux state.
It should not be used in files which are part of the final package especially in production and on web applications
@ ./node_modules/addon-redux/dist/esm/index.js 8:0-57 8:0-57
@ ./node_modules/@webviz/subsurface-components/dist/components/DeckGLMap/redux/store.js
The text was updated successfully, but these errors were encountered: