You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to Readme, webpack-node-externals exclude any node_modules on server side.
I have a React SSR project and in webpack config for server side, I added this plugin in externals fields. On server side, I still need 'react' and 'react-dom' and react-apollo. It works fine but it suddenly makes me confused if all node_modules are excluded , how come react, react dom still work on server side?
Then I added a third party react component library and suddenly all exported stuff from it on server is undefined.
Please help me with my understanding
The text was updated successfully, but these errors were encountered:
According to Readme, webpack-node-externals exclude any node_modules on server side.
I have a React SSR project and in webpack config for server side, I added this plugin in externals fields. On server side, I still need 'react' and 'react-dom' and react-apollo. It works fine but it suddenly makes me confused if all node_modules are excluded , how come react, react dom still work on server side?
Then I added a third party react component library and suddenly all exported stuff from it on server is undefined.
Please help me with my understanding
The text was updated successfully, but these errors were encountered: