in vite.config
define: {
global: 'globalThis',
},
will result any text in my code to be parsed from "... global nature ..." into "... globalThis nature ..."
Are there any workarounds, defining global in a different way? I need to for some 3rd party libraries.