vite-plugin-css-injected-by-js icon indicating copy to clipboard operation
vite-plugin-css-injected-by-js copied to clipboard

umd.js file still does not include css when use vite build --watch

Open wangmerry opened this issue 1 year ago • 2 comments
trafficstars

💉 Failing Test

Which jobs/test(s) are failing


Reason for failure/description


Media prove


Additional context

wangmerry avatar May 29 '24 10:05 wangmerry

vite. formats: ['es', 'umd'],

wangmerry avatar May 29 '24 12:05 wangmerry

I can confirm that it's not working on watch mode when there's multiple format

waelbettayeb avatar Aug 12 '24 15:08 waelbettayeb

When using the --watch option the build run in a different manner, and I think this is a bug of Vite.js since the purpose of the --watch is only to have the "autoupdate". I tried to fix this, but the css file is compiled only for one step and this is random, so this means that I can't get this thing in the building process. Maybe you can open an issue to the Vite project for that.

marco-prontera avatar Sep 27 '24 20:09 marco-prontera