Skip to content

Commit

Permalink
fix: remove unused code and support Vite 6
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Dec 3, 2024
1 parent 2d739a8 commit ae614c0
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions packages/vike-node/src/plugin/plugins/edgePlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,7 @@ export function edgePlugin(): Plugin[] {
let entries: Entry[]
let entriesWithOutFile: EntryWithOutFile[]

return [createServePlugin(), createBuildPlugin(), createScaffoldPlugin()]

function createServePlugin(): Plugin {
return {
name: 'vike-node:edge:serve',
apply: 'serve',
config() {
return {
resolve: {
conditions: ['vike-node-dev']
}
}
}
}
}
return [createBuildPlugin(), createScaffoldPlugin()]

function createBuildPlugin(): Plugin {
return {
Expand Down

0 comments on commit ae614c0

Please sign in to comment.