hardfist

Results 323 comments of hardfist

the current virtual module implementation in rspack is not ideal and should be implemented on top of compiler.inputFilesystem which will not change the original path so the resolve behavior should...

I'm not sure whether it's a unplugin bug or civet plugin bug it actually resolved to right css path ![Image](https://github.com/user-attachments/assets/6e239e16-3c2d-4cef-a868-abb38d93695d) but then the right resolved path is thrown away https://github.com/DanielXMoore/Civet/blob/0d97621082c7c0d2201d57498816b67ad95e8838/source/unplugin/unplugin.civet#L399

after some investigation, I think the root cause is here https://github.com/unjs/unplugin/blob/main/src/webpack/index.ts#L123, and it's very tricky to move virtual module path to node_modules/.virtual, I'm gonna try to align webpack's implementation with...

@SoonIter still working on this?

> There's actually already support on mac/linux for parsing a `marker-{pid}.txt` file that a process opens, however the file format is extremely simple (literally "[time] [name]"), which is not good...

> What's the difficulty of supporting FreeBSD? we don't have freebsd runner

@ScriptedAlchemy should we expose this feature to js side?