Don Denton
Don Denton
~Looks like the changes you made solved what was going on with Noir in Safari on macOS.~ ✅ ~Though if I enable Noir (force it to render dark mode when...
I've discovered that the `.withMetadata()` method keeps all metadata while allowing you to write to some of that metadata at the same time. This means it is incompatible with the...
I've upstreamed some tools into Sharp that will make this whole thing easier to accomplish.
> As a side note, I don't read the warning as suggesting you add an empty `` -- it's implied that you add a `src`. Only to someone familiar enough...
That’s quite a catch. 😂
You could still do a simple string replacement if we are given a place to register which files need to be hashed. ```html ``` I don't know where that'd be....
Or if there was a place to hook into the string replacement in general, at build time, we could add necessary build steps to populate it. (maybe this already exists?)
As a POC, I added the following to `src/node_modules/server.mjs` (it gets blown away at first build, but a quick undo and it pops back) ```js import templateConfig from '../../../sapper.config' //...
Even more control would be to provide `body, html, head, styles, nonce_value, nonce_attr, req` to a single function and require it return the template string. No need to force the...
Sounds like a winning compromise! I completely understand that taking on new features is _very_ tricky since now you have to support them. I think adding the syntactic sugar for...