Skip to content

Commit

Permalink
Update presets.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
khromov committed Dec 2, 2024
1 parent 7f9469d commit 2056386
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/lib/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export const presets: Record<string, PresetConfig> = {
glob: ['**/apps/svelte.dev/content/docs/svelte/**/*.md'],
ignore: [
'**/apps/svelte.dev/content/docs/svelte/99-legacy/**/*.md',
'**/apps/svelte.dev/content/docs/svelte/07-misc/**/*.md'
'**/apps/svelte.dev/content/docs/svelte/07-misc/**/*.md',
'**/apps/svelte.dev/content/docs/svelte/98-reference/**/*.md' // TODO: This one is questionable to remove
],
prompt: 'Always use Svelte 5 runes. Runes do not need to be imported, they are globals.',
minimize: {
Expand All @@ -54,7 +55,6 @@ export const presets: Record<string, PresetConfig> = {
owner: 'sveltejs',
repo: 'svelte.dev',
glob: ['**/apps/svelte.dev/content/docs/kit/**/*.md'],
ignore: [],
estimatedSizeKb: 410,
minimize: {}
},
Expand All @@ -63,7 +63,11 @@ export const presets: Record<string, PresetConfig> = {
owner: 'sveltejs',
repo: 'svelte.dev',
glob: ['**/apps/svelte.dev/content/docs/kit/**/*.md'],
ignore: [],
ignore: [
'**/apps/svelte.dev/content/docs/kit/25-build-and-deploy/**/*.md',
'**/apps/svelte.dev/content/docs/kit/60-appendix/**/*.md',
'**/apps/svelte.dev/content/docs/kit/98-reference/**/*.md'
],
minimize: {
removeLegacy: true,
removePlaygroundLinks: true,
Expand Down

0 comments on commit 2056386

Please sign in to comment.