diff --git a/apps/resource/scripts/build.js b/apps/resource/scripts/build.js index e3608dfd..8efd2c69 100644 --- a/apps/resource/scripts/build.js +++ b/apps/resource/scripts/build.js @@ -38,6 +38,8 @@ createBuilder( }, ], async (outfiles) => { + if (web && !watch) await exec('cd ./web && vite build'); + const files = await getFiles('dist/web', 'static', 'locales'); await createFxmanifest({ client_scripts: [outfiles.client], @@ -49,8 +51,6 @@ createBuilder( node_version: '22', }, }); - - if (web && !watch) await exec('cd ./web && vite build'); }, ); diff --git a/apps/resource/web/src/index.css b/apps/resource/web/src/index.css index 8d87f93d..af0e4045 100644 --- a/apps/resource/web/src/index.css +++ b/apps/resource/web/src/index.css @@ -93,7 +93,7 @@ body { @apply border-border outline-ring/50; } body { - @apply bg-background text-foreground; + @apply text-foreground; } } @@ -102,6 +102,6 @@ body { @apply border-border outline-ring/50; } body { - @apply bg-background text-foreground; + @apply text-foreground; } }