From f0cf82341d5a5cdbdfa27cbaef829f3c70b47025 Mon Sep 17 00:00:00 2001 From: Ryan Atkinson Date: Thu, 3 Oct 2024 21:03:53 -0600 Subject: [PATCH] wip --- src/lib/gro_plugin_moss_css.ts | 4 ++-- svelte.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/gro_plugin_moss_css.ts b/src/lib/gro_plugin_moss_css.ts index 5873736f..0bd8e852 100644 --- a/src/lib/gro_plugin_moss_css.ts +++ b/src/lib/gro_plugin_moss_css.ts @@ -42,8 +42,8 @@ export interface Options { export const gro_plugin_moss_css = ({ include_classes = null, - outfile = 'src/routes/moss.css', // TODO BLOCK what about multiple files using file filters to check where to collect them? - filter_file = null, //(p) => !p.includes('.test.'), + outfile = 'src/routes/moss.css', // TODO maybe support multiple files using file filters to check where to collect them? + filter_file = (p) => !p.includes('.test.') && !p.includes('/test/'), flush_debounce_delay = FLUSH_DEBOUNCE_DELAY, }: Options = EMPTY_OBJECT): Plugin => { const css_classes = new Css_Classes( diff --git a/svelte.config.js b/svelte.config.js index 66ba1c05..53540bb1 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -11,6 +11,6 @@ export default { kit: { adapter: adapter(), paths: {relative: false}, // use root-absolute paths: https://kit.svelte.dev/docs/configuration#paths - alias: {$routes: 'src/routes', $fixtures: 'src/fixtures'}, + alias: {$routes: 'src/routes'}, }, };