Skip to content

Commit

Permalink
fix(server): optimize sanity build/sanity deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Aug 11, 2022
1 parent d9153bd commit 2e00ef3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@sanity/server/src/aliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {SanityMonorepo} from './sanityMonorepo'
export function getAliases(opts: {monorepo?: SanityMonorepo}): Record<string, string> {
const {monorepo} = opts

if (!monorepo) {
if (!monorepo?.path) {
return {}
}

Expand Down
1 change: 0 additions & 1 deletion packages/@sanity/server/src/getViteConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ export async function getViteConfig(options: ViteOptions): Promise<InlineConfig>
emptyOutDir: false, // Rely on CLI to do this

rollupOptions: {
perf: true,
input: {
main: virtualEntryModuleId,
},
Expand Down

0 comments on commit 2e00ef3

Please sign in to comment.