File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
src/routes/(authed)/playground/[id] Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 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 ();
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ import { enhancedImages } from '@sveltejs/enhanced-img';
33import type { PluginOption , UserConfig } from 'vite' ;
44import { browserslistToTargets } from 'lightningcss' ;
55import browserslist from 'browserslist' ;
6- import { fileURLToPath } from 'node:url' ;
7- import { dirname } from 'node:path' ;
86
97const 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 : {
You can’t perform that action at this time.
0 commit comments