Skip to content

Commit

Permalink
chore: conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Nov 14, 2024
1 parent ed8a96e commit e6ee7ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions packages/vitest/src/node/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,6 @@ export async function VitestPlugin(
alias: testConfig.alias,
conditions: ['node'],
},
// eslint-disable-next-line ts/ban-ts-comment
// @ts-ignore Vite 6 compat
environments: {
ssr: {
resolve: {
// by default Vite resolves `module` field, which not always a native ESM module
// setting this option can bypass that and fallback to cjs version
mainFields: [],
conditions: ['node'],
},
},
},
server: {
...testConfig.api,
open,
Expand Down
12 changes: 0 additions & 12 deletions packages/vitest/src/node/plugins/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,6 @@ export function WorkspaceVitestPlugin(
alias: testConfig.alias,
conditions: ['node'],
},
// eslint-disable-next-line ts/ban-ts-comment
// @ts-ignore Vite 6 compat
environments: {
ssr: {
resolve: {
// by default Vite resolves `module` field, which not always a native ESM module
// setting this option can bypass that and fallback to cjs version
mainFields: [],
conditions: ['node'],
},
},
},
esbuild: viteConfig.esbuild === false
? false
: {
Expand Down

0 comments on commit e6ee7ac

Please sign in to comment.