@ogygia/compiler 0.14.1 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -765,12 +765,18 @@ function ogygia(options = {}) {
765
765
  for (const [abs, source] of modules) try {
766
766
  let own = "";
767
767
  if (svelteHasStyle(source)) {
768
+ const app = await component_css.options(abs, source);
768
769
  const { css } = compile(source, {
770
+ ...app,
769
771
  filename: abs,
770
772
  css: "external",
771
773
  dev: false,
772
774
  generate: "client",
773
- experimental: { async: true }
775
+ hmr: false,
776
+ experimental: {
777
+ ...app.experimental,
778
+ async: true
779
+ }
774
780
  });
775
781
  own = css?.code ?? "";
776
782
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ogygia/compiler",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "The compiler of ogygia (SSR islands for SvelteKit): the region transform, the build's link step and the Vite plugin",
5
5
  "keywords": [
6
6
  "compiler",