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.
- package/cli.js +5 -4
- 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
|
-
|
|
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
|
|