Replies: 1 comment 6 replies
-
Hey @onordgren! |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! This is kind two questions in one. Is it possible to prevent a certain chunk from being generated and force it to be inlined into the script importing it? If not, is it possible to control this behaviour for the preload-helper?
The reason I'm asking is that I'm currently using vite to build a couple of entry files. These entry files are included with a non module script that so I would like them to be
import
free. After adding a second entry file I however noticed that Vite chunked the preload-helper and added animport
instead of inlining it.Beta Was this translation helpful? Give feedback.
All reactions