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
{{ message }}
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Are you trying to use any presets? If so, which ones, and what versions?
"@neutrinojs/airbnb": "^8.2.2",
"@neutrinojs/jest": "^8.2.2",
"@neutrinojs/react": "^8.2.2",
"neutrino": "^8.2.2"
Are you using the Yarn client or the npm client? What version?
yarn 1.6.0
What version of Node.js are you using?
v9.11.1
What operating system are you using?
mac
What did you do?
Try to creates a separate file/chunk consisting of common modules shared between multiple entry points.
Hi! With Neutrino 8 (which uses webpack 3), the vendor handling isn't fully automatic. Neutrino does configure the various plugins required to get chunking working, but it also needs a fake vendor entrypoint to be defined in your .neutrinorc.js, which specifies which packages you'd like to be moved into the vendor chunk. See: https://neutrino.js.org/packages/react/#vendoring
Note that with webpack 4's new optimization.splitChunks feature this manual step won't be required. PR #809 is open to switch Neutrino to webpack 4, and is expected to be part of Neutrino 9.
latest
"@neutrinojs/airbnb": "^8.2.2",
"@neutrinojs/jest": "^8.2.2",
"@neutrinojs/react": "^8.2.2",
"neutrino": "^8.2.2"
yarn 1.6.0
v9.11.1
mac
Try to creates a separate file/chunk consisting of common modules shared between multiple entry points.
this is my config file:
I can't find out how to configure the chunk middleware to use the vendor-chunk plugin automatically create the vendor . Can anyone help?
The text was updated successfully, but these errors were encountered: