Skip to content

Commit 1cb3203

Browse files
committed
Fix #82
1 parent 795c1e3 commit 1cb3203

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/websocket/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"scripts": {
77
"dev": "vite --port 3003 --clearScreen false",
88
"build": "vite build",
9-
"preview": "vite preview --port 3003",
109
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
1110
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
1211
"lint": "prettier --plugin-search-dir . --check . && eslint .",

examples/websocket/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { sveltekit } from '@sveltejs/kit/vite';
22
import type { UserConfig } from 'vite';
33

4-
// import { vitePluginTrpcWebSocket } from 'trpc-sveltekit/websocket';
5-
import { vitePluginTrpcWebSocket } from '../../package/src/websocket';
4+
import { vitePluginTrpcWebSocket } from 'trpc-sveltekit/websocket';
5+
// import { vitePluginTrpcWebSocket } from '../../package/src/websocket';
66

77
const config: UserConfig = {
88
plugins: [sveltekit(), vitePluginTrpcWebSocket]

0 commit comments

Comments
 (0)