@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.
- package/dist/vite/index.js +7 -1
- package/package.json +1 -1
package/dist/vite/index.js
CHANGED
|
@@ -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
|
-
|
|
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