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
Hello. I'm trying to set up vidstack so that it works offline without downloading any chunk files from CDN. I was able to do it in this PR for my project Megabit/Blazorise#5929
But the process was quite tedious and didn't solve a real problem. I would like to have a single JS file that has an entire vidstack library ready to be imported into my project, without loading any chunks behind the scenes.
So far, I was able to clone vidstack, set up npm/yarn/turbo build tools, and successfully build using the default setup. I'm now stuck with making it bundle files. I can see that it is doing something in rollup.config.ts, but I'm now knowledgeable enough to make it right.
Is this possible? And if yes, can anybody please help?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. I'm trying to set up vidstack so that it works offline without downloading any chunk files from CDN. I was able to do it in this PR for my project Megabit/Blazorise#5929
But the process was quite tedious and didn't solve a real problem. I would like to have a single JS file that has an entire vidstack library ready to be
import
ed into my project, without loading any chunks behind the scenes.So far, I was able to clone vidstack, set up npm/yarn/turbo build tools, and successfully build using the default setup. I'm now stuck with making it bundle files. I can see that it is doing something in
rollup.config.ts
, but I'm now knowledgeable enough to make it right.Is this possible? And if yes, can anybody please help?
Beta Was this translation helpful? Give feedback.
All reactions