Open jamonholmgren opened 11 months ago
Note if you're using Node 18+, you may also need to pass NODE_OPTIONS=--openssl-legacy-provider
prior to building:
NODE_OPTIONS=--openssl-legacy-provider yarn build-storybook
I found that if you throw this into apps/reactotron-app/.storybook/webpack.config.js
it builds but still run into an fs error
node: {
...config.node,
fs: "empty",
},
Maybe we could try updating to the latest storybook and webpack?
"Can't resolve 'fs'" -- appears to be trying to load fs in a browser context.
Replicate:
Error: