@nzz/q-cli 1.9.0 → 1.9.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nzz/q-cli",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Cli tool to setup new Q tools, new Q server implementations and start Q dev server to test developing Q tools",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -24,6 +24,7 @@
24
24
  "sass": "^1.43.4",
25
25
  "sirv-cli": "^1.0.12",
26
26
  "svelte": "^3.43.1",
27
+ "svelte-preprocess": "^4.10.7",
27
28
  "typescript": "^4.6.4"
28
29
  },
29
30
  "scripts": {
@@ -39,4 +40,4 @@
39
40
  "rollup": "rollup -c -w",
40
41
  "serve": "sirv public --dev --port 5555 --host 0.0.0.0"
41
42
  }
42
- }
43
+ }
@@ -15,6 +15,7 @@ import qConfig from "./q.config.json";
15
15
  import typescript from '@rollup/plugin-typescript';
16
16
  import image from '@rollup/plugin-image';
17
17
  import alias from '@rollup/plugin-alias';
18
+ import sveltePreprocess from 'svelte-preprocess';
18
19
  import { createContentWidthQElement, createFullwidthQElement, getHtml, createSubtitle, createParagraph } from '@nzz/nzz.ch-static';
19
20
 
20
21
  // Which nzz layout to use?
@@ -144,6 +145,7 @@ export default {
144
145
  json(),
145
146
  image(),
146
147
  svelte({
148
+ preprocess: sveltePreprocess(),
147
149
  compilerOptions: {
148
150
  // enable run-time checks when not in production
149
151
  dev: !production,