File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
packages/plugin-legacy/src Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import crypto from 'node:crypto'
3
3
import { createRequire } from 'node:module'
4
4
import { fileURLToPath } from 'node:url'
5
5
import { build , normalizePath } from 'vite'
6
- import * as vite from 'vite'
7
6
import MagicString from 'magic-string'
8
7
import type {
9
8
BuildOptions ,
@@ -143,13 +142,6 @@ const outputOptionsForLegacyChunks =
143
142
new WeakSet < Rollup . NormalizedOutputOptions > ( )
144
143
145
144
function viteLegacyPlugin ( options : Options = { } ) : Plugin [ ] {
146
- if ( 'rolldownVersion' in vite ) {
147
- const { default : viteLegacyPluginForRolldownVite } = _require (
148
- '#legacy-for-rolldown-vite' ,
149
- )
150
- return viteLegacyPluginForRolldownVite ( options )
151
- }
152
-
153
145
let config : ResolvedConfig
154
146
let targets : Options [ 'targets' ]
155
147
const modernTargets : Options [ 'modernTargets' ] =
You can’t perform that action at this time.
0 commit comments