Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Aug 15, 2024
1 parent 12239b2 commit ecdc5fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/db/src/core/integration/file-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function copyFile(toDir: URL, fromUrl: URL, toUrl: URL) {
export function fileURLIntegration(): AstroIntegration {
const fileNames: string[] = [];

function createVitePlugin(command: 'build' | 'preview' | 'dev'): VitePlugin {
function createVitePlugin(command: 'build' | 'preview' | 'dev' | 'sync'): VitePlugin {
let referenceIds: string[] = [];
return {
name: '@astrojs/db/file-url',
Expand Down
2 changes: 1 addition & 1 deletion packages/db/src/core/integration/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function astroDBIntegration(): AstroIntegration {
inProgress: false,
};

let command: 'dev' | 'build' | 'preview';
let command: 'dev' | 'build' | 'preview' | 'sync';
let output: AstroConfig['output'] = 'server';
return {
name: 'astro:db',
Expand Down

0 comments on commit ecdc5fb

Please sign in to comment.