-
How does development mode enable the same code segmentation as production mode? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Please explain your question in more detail, I don't understand what you're asking for. Thanks! |
Beta Was this translation helpful? Give feedback.
-
In the development environment, I found that the request package CommonJS is particularly large, can it be divided with the same code in the production environment to reduce the size of the package volume. |
Beta Was this translation helpful? Give feedback.
-
No, that's not a built-in option and also not necessary as the development version is not optimized on purpose (to allow quicker development). The |
Beta Was this translation helpful? Give feedback.
-
Then how can the current page not be affected during the gatsby packing build process? Since Gatsby build will clear the current. Cache and public first, What I want is that when I repackage it, it will not affect the current users. |
Beta Was this translation helpful? Give feedback.
-
If you're not using any of these services (https://www.gatsbyjs.com/docs/deploying-and-hosting/) and are self-hosting you'll need to create the build in another folder and then once finished copy the files over to the desired folder for your hosting/website. |
Beta Was this translation helpful? Give feedback.
If you're not using any of these services (https://www.gatsbyjs.com/docs/deploying-and-hosting/) and are self-hosting you'll need to create the build in another folder and then once finished copy the files over to the desired folder for your hosting/website.