Bjorn Lu
Bjorn Lu
We discussed this in the last meeting, and decided it's better to have this enforced by metaframeworks instead. This is because this breaks how Vite works fundamentally (a simple static...
There's a issue upstream for this: https://github.com/lukeed/resolve.exports/issues/17
Note: Vite has upgraded to `resolve.exports` 2.0, so this feature request is unblocked. I'm putting this to the Vite discussion though to decide if we should: 1. Follow node's behaviour...
In the last team meeting, we've decided to follow node as it defines the `exports` behaviour. And since node doesn't implement file existence checks, we will also not implement it....
It's https://github.com/mrmlnc/fast-glob I think this is a good idea, but we probably have to use a custom chokidar instance to watch the public dir, and trigger `watcher.emit('restart')` at [here](https://github.com/vitejs/vite/blob/02c334a706d88b2e69d68053e6f3ede983b0d241/packages/vite/src/node/build.ts#L622-L645), as...
Tried to implement this today but it's harder than it seems because `watcher.emit('restart')` doesn't actually restart because Rollup sees that nothing changed. The only way to copy and on new...
Darn it, I think this is a duplicate of https://github.com/lit/lit/issues/1983. Sorry about it I'll make a comment there instead.
Thanks. Yeah while investigating this, I didn't really check if all the node outputs support workers, just that some manual testing showed that it somewhat works. We could run `workerd`...
In Astro's Cloudflare support, we're able to workaround it by patching `lit-html` and `@lit/reactive-element` to use the exported `node` conditions in worker environments. I've made a (duplicate) issue which covers...
@baseballyama I'm not sure if checking for `` at the first of line would be a robust solution. The format of the code shouldn't change its semantic meaning, so I...