gwsbhqt

Results 8 comments of gwsbhqt

Generally, existing style libraries are used in a dom environment. Now I am using ts/vite/preact/module less to build a library. If I use the inline style, then there is no...

@ziping-li @hiendv @aekasitt I used a method similar to @ziping-li to solve this thorny problem. ```typescript // index.ts entry point import styleInject from 'style-inject' styleInject('__STYLE_CSS__') // __STYLE_CSS__ is a placeholder...

save the following code as a .html suffix file and open it with your browser, and open the browser debugger to observe ```html import * as SemiUI from 'https://esm.sh/@douyinfe/semi-ui' console.log(SemiUI)...

By the way, I found a puzzling phenomenon. I use the Bundle mode import has been unable to build and import success, always time out. But importing using css mode...

@Hideman85 I have a similar problem, have you found a solution?

I solved this problem because the translation of esbuild removes redundant comments, causing the ignored comments to be deleted. There is such a solution in esbuild to force the retention...

Does anyone know the historical reason for this? What a stupid decision it seems now. It killed my whole day

@evanw As @hyrious mentioned above, in this scenario, there is a difference in the implementation of esbuild and tsc. Private fields still exist, no degradation has occurred. Is this a...