翠 / green

Results 246 comments of 翠 / green

It seems `` also does not work but `` works. As the SFC spec says **pre-processor** languages and HTML is not a pre-processor language, I'm not sure if this is...

It would be nice to have this feature. But I suppose you can just use rollup-plugin-copy for that.

Yeah it seems plugin-vue is failing to find the correct main module as @Demivan said https://github.com/vitejs/vite/issues/9341#issuecomment-1199914922. (Changing that line to the code below worked) ```js const mainModule = modules.find( (m)...

@jonaskuske Thanks! Yeah, the behavior seems to be correct. I've tested without Vite and this code does not work. Closing as it's working correctly.

@zw201913 [`globalThis` is supported by Safari 13.0.3](https://caniuse.com/mdn-javascript_builtins_globalthis). So that error shouldn't be happening. Would you paste the result of `npx envinfo --system --npmPackages '{vite,@vitejs/*}' --binaries --browsers`?

Ummm, I think this is a bug in Safari or tauri. Or tauri is using Safari other than 13.0.3.

Then, I think tauri is using a different version of Safari. Closing as this is not a bug in Vite. (Vite doesn't support old browsers during dev)

Closing as lack of response and I guess this is a duplicate of #4635