File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ export function fresh(config?: FreshViteConfig): Plugin[] {
242242 } ,
243243 } ;
244244 } ,
245- async configResolved ( vConfig ) {
245+ configResolved ( vConfig ) {
246246 // Run update check in background
247247 updateCheck ( UPDATE_INTERVAL ) . catch ( ( ) => { } ) ;
248248
Original file line number Diff line number Diff line change @@ -90,9 +90,7 @@ export function deno(): Plugin {
9090 for ( const alias of list ) {
9191 const find = alias . find ;
9292 if ( typeof find === "string" ? find === id : find ?. test ?.( id ) ) {
93- id = typeof alias . replacement === "string"
94- ? alias . replacement
95- : id ;
93+ id = typeof alias . replacement === "string" ? alias . replacement : id ;
9694 break ;
9795 }
9896 }
@@ -204,8 +202,7 @@ export function deno(): Plugin {
204202 code . includes ( "exports." ) ||
205203 code . includes ( "require(" ) )
206204 ) {
207- const isServer =
208- this . environment . config . consumer === "server" ;
205+ const isServer = this . environment . config . consumer === "server" ;
209206
210207 if ( isServer ) {
211208 // SSR: use Node.js createRequire for full CJS compat
@@ -284,7 +281,6 @@ export default module.exports;
284281 code,
285282 } ;
286283 }
287-
288284 } ,
289285 transform : {
290286 filter : {
You can’t perform that action at this time.
0 commit comments