Skip to content

Commit acf9578

Browse files
committed
lint
1 parent 23d0147 commit acf9578

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

apps/svelte.dev/src/routes/(authed)/playground/[id]/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import { compress_and_encode_text, decode_and_decompress_text } from './gzip.js';
1010
import { page } from '$app/state';
1111
import type { File } from 'editor';
12+
// @ts-expect-error this library was created way before TS conquered the world
1213
import * as doNotZip from 'do-not-zip';
1314
1415
let { data } = $props();

apps/svelte.dev/vite.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import { enhancedImages } from '@sveltejs/enhanced-img';
33
import type { PluginOption, UserConfig } from 'vite';
44
import { browserslistToTargets } from 'lightningcss';
55
import browserslist from 'browserslist';
6-
import { fileURLToPath } from 'node:url';
7-
import { dirname } from 'node:path';
86

97
const plugins: PluginOption[] = [
108
enhancedImages(),
@@ -64,9 +62,6 @@ const config: UserConfig = {
6462
cssMinify: 'lightningcss'
6563
},
6664
server: {
67-
watch: {
68-
ignored: [dirname(fileURLToPath(import.meta.url)) + '/scripts/**']
69-
},
7065
fs: { allow: ['../../packages', '../../../KIT/kit/packages/kit'] },
7166
// for SvelteKit tutorial
7267
headers: {

0 commit comments

Comments
 (0)