Lenny
Lenny
I got it working using a buffer, events and utils polyfill and a bit of vite config trickery. Here is the branch with the working code: https://github.com/lennyanders/music-metadata-browser-8-with-vite-3/tree/music-metadata-with-polyfills I might look...
I already handled that with an alias in vite, from node:buffer to buffer. https://github.com/lennyanders/music-metadata-browser-8-with-vite-3/blob/28bc592464a50e6c0be8672a9169c393393fecc0/vite.config.js#L10
I needed the following command on Windows to make ESM working with 11ty: ``` node -r esm node_modules/@11ty/eleventy/cmd.js ``` Also, with the following esm config, I got export default for...
I hope what I want fits into this topic. I would like output a single template with two different layouts and, of course, a different permalink per layout. I thought...
Thank you, @Snapstromegon, this is really smart. I tried to use the alias "page" and had a lot of problems but just now I found out that it is even...
That takes it down from 13 to 1.5 minutes. I would still like to try my idea. But this little change can be implemented nonetheless and is a quick win....
> Originally new files data would overwrite old ones, but that got lost when I changed things, since files rarely change ignoring existing files seems like a good idea they...
I left a comment in the PR. I also have a test now for my method, and it already works really well: [chrome-fast-fs-diffing](https://github.com/lennyanders/chrome-fast-fs-diffing) The diffing only takes a few milliseconds,...
> I really like the approach of saving directoryHandle together with the file. Maybe directoryHandle.resolve() could be used to check if one directory is parent of the other?. That should...
I updated my [repo](https://github.com/lennyanders/chrome-fast-fs-diffing) now, so if you select multiple directories on one layer and then select a parent directory of these, the old filenames get updated and than everything...