File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -262,14 +262,8 @@ export default function solidPlugin(options: Partial<Options> = {}): Plugin {
262
262
replaceDev = options . dev === true || ( options . dev !== false && command === 'serve' ) ;
263
263
projectRoot = userConfig . root ;
264
264
265
- // TODO: remove when fully removed from vite
266
- const legacyAlias = normalizeAliases ( userConfig . alias ) ;
267
-
268
265
if ( ! userConfig . resolve ) userConfig . resolve = { } ;
269
- userConfig . resolve . alias = [
270
- ...legacyAlias ,
271
- ...normalizeAliases ( userConfig . resolve && userConfig . resolve . alias ) ,
272
- ] ;
266
+ userConfig . resolve . alias = normalizeAliases ( userConfig . resolve && userConfig . resolve . alias ) ;
273
267
274
268
// fix for bundling dev in production
275
269
const nestedDeps = replaceDev
You can’t perform that action at this time.
0 commit comments