Dionysius Marquis

Results 20 comments of Dionysius Marquis

> As stated in the [newest Prettier docs](https://prettier.io/docs/en/integrating-with-linters.html), using packages like `eslint-plugin-prettier` is no longer recommended… @dummdidumm But only eslint plugins provide "realtime" linting inside the IDE, or not? In...

@benmccann This approach doesn't work anymore, since the update of `rollup-plugin-css-chunks` (https://github.com/sveltejs/sapper/commit/8a2769da8ed95c3daacfadb645946fc9822be4b1#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R63). That's because the css files won't be present in the`chunk.modules` anymore. This is most likely because of this...

@benmccann Ok, I rebased and updated the approach. Maybe you could have another look. I had to add `moduleSideEffects: 'no-treeshake'`. I was also able to simplify the `augmentChunkHash` part because...

Everything is working as expected in SvelteKit, I'd say. Running `dev` imported css inside `` will be added "unbundled" as inline css. `build` will put them in the corresponding bundled...

After some more investigation it's not a "unnecessary" reload it's actually: Reload -> correct current version for a split second -> replaced by old cached version It seems more like...

Making a "hard" reload will always work, but that just ignores "caching environments" which are the crucial part of this issue, as far as I can tell. The main problem...

Alright there is this `augmentChunkHash` hook. With that I managed to additionally apply the corresponding css hashes to the chunk hashes before the bundle hooks are kicking in. You will...

I created a PR. I also tried to add support for additional "css extensions" like `.pcss`, `.sass`… But `rollup-plugin-css-chunks`will only react to `.css`. I also tried to use `rollup-plugin-postcss`, but...

It's still present on sapper 0.28.10. I also tested 2.29.0 real quick in `dev`, but in this version client.css won't be hashed at all. I can still reproduce it quite...