We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c54b2e commit 1267be8Copy full SHA for 1267be8
README.md
@@ -34,6 +34,14 @@ export default {
34
// can also use the server-side rendering compiler
35
generate: 'ssr',
36
37
+ // Optionally, preprocess components with svelte.preprocess:
38
+ // https://github.com/sveltejs/svelte#preprocessor-options
39
+ preprocess: {
40
+ style: ({ content }) => {
41
+ return transformStyles(content);
42
+ }
43
+ },
44
+
45
// Extract CSS into a separate file (recommended).
46
// See note below
47
css: function (css) {
@@ -42,7 +50,7 @@ export default {
50
51
// creates `main.css` and `main.css.map` — pass `false`
52
// as the second argument if you don't want the sourcemap
- css.write('public/main.css');
53
+ css.write('public/main.css');
54
}
55
})
48
56
]
0 commit comments