File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -200,11 +200,6 @@ export function VitePluginDotenvx(options: VitePluginDotenvxOptions): Plugin {
200200 debug ( `Exposed ${ Object . keys ( envToExpose ) . length } environment variables to the client` )
201201 }
202202 } ,
203-
204- // Add a closeBundle hook to ensure cleanup happens
205- async closeBundle ( ) {
206- debug ( 'Bundle closing...' )
207- } ,
208203 }
209204}
210205
Original file line number Diff line number Diff line change @@ -470,14 +470,4 @@ describe('vite-plugin-dotenvx', () => {
470470 // Expect config.define to be undefined
471471 expect ( config . define ) . toBeUndefined ( )
472472 } )
473-
474- // Skip the closeBundle test for now as it's causing issues
475- it . skip ( 'should call closeBundle hook without errors' , ( ) => {
476- const plugin = VitePluginDotenvx ( {
477- verbose : false ,
478- } )
479-
480- // Just verify the hook exists
481- expect ( typeof plugin . closeBundle ) . toBe ( 'function' )
482- } )
483473} )
You can’t perform that action at this time.
0 commit comments