How to expose bundle as window variable? #18192
-
Hello there 👋 Previous Webpack setup:
I've fiddled around a lot both with the Vite lib mode as well as using
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Vite sets |
Beta Was this translation helpful? Give feedback.
-
So after some more trial and error and reading of documentation I've finally managed to understand this. There are two ways of doing what I want:
|
Beta Was this translation helpful? Give feedback.
So after some more trial and error and reading of documentation I've finally managed to understand this. There are two ways of doing what I want:
name
property, like this: