svelte-realtime 0.4.2 → 0.4.3

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.
Files changed (2) hide show
  1. package/cli.js +5 -4
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -107,14 +107,15 @@ p.log.step('Configuring svelte-realtime');
107
107
  writeFileSync(
108
108
  join(dest, 'svelte.config.js'),
109
109
  `import adapter from 'svelte-adapter-uws';
110
- import { vitePreprocess } from '@sveltejs/kit/vite';
111
110
 
112
- export default {
111
+ /** @type {import('@sveltejs/kit').Config} */
112
+ const config = {
113
113
  \tkit: {
114
114
  \t\tadapter: adapter({ websocket: true })
115
- \t},
116
- \tpreprocess: [vitePreprocess()]
115
+ \t}
117
116
  };
117
+
118
+ export default config;
118
119
  `
119
120
  );
120
121
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-realtime",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Realtime RPC and reactive subscriptions for SvelteKit, built on svelte-adapter-uws",
5
5
  "author": "Kevin Radziszewski",
6
6
  "license": "MIT",