remove build.emptyOutDir
This commit is contained in:
		
							parent
							
								
									cebd703848
								
							
						
					
					
						commit
						29f3fad337
					
				| 
						 | 
				
			
			@ -20,7 +20,6 @@ export default defineConfig({
 | 
			
		|||
    },
 | 
			
		||||
    minify: process.env./* from mode option */NODE_ENV === 'production',
 | 
			
		||||
    sourcemap: process.env./* from mode option */NODE_ENV === 'debug',
 | 
			
		||||
    emptyOutDir: true,
 | 
			
		||||
    rollupOptions: {
 | 
			
		||||
      external: [
 | 
			
		||||
        'electron',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,6 @@ export default defineConfig({
 | 
			
		|||
      fileName: () => '[name].cjs',
 | 
			
		||||
    },
 | 
			
		||||
    minify: process.env./* from mode option */NODE_ENV === 'production',
 | 
			
		||||
    emptyOutDir: true,
 | 
			
		||||
    rollupOptions: {
 | 
			
		||||
      external: [
 | 
			
		||||
        'electron',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -27,7 +27,6 @@ export default defineConfig({
 | 
			
		|||
  ],
 | 
			
		||||
  base: './',
 | 
			
		||||
  build: {
 | 
			
		||||
    emptyOutDir: true,
 | 
			
		||||
    sourcemap: process.env.NODE_ENV === 'debug',
 | 
			
		||||
    outDir: '../../dist/renderer',
 | 
			
		||||
  },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue