mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	fix webpack build
This commit is contained in:
		
							parent
							
								
									da050c6369
								
							
						
					
					
						commit
						f0217cae5e
					
				@ -10,5 +10,6 @@ module.exports = {
 | 
				
			|||||||
        path: path.resolve(__dirname, 'src/public/app-dist'),
 | 
					        path: path.resolve(__dirname, 'src/public/app-dist'),
 | 
				
			||||||
        filename: 'desktop.js'
 | 
					        filename: 'desktop.js'
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    devtool: 'source-map'
 | 
					    devtool: 'source-map',
 | 
				
			||||||
 | 
					    target: 'electron-main'
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
@ -10,5 +10,6 @@ module.exports = {
 | 
				
			|||||||
        path: path.resolve(__dirname, 'src/public/app-dist'),
 | 
					        path: path.resolve(__dirname, 'src/public/app-dist'),
 | 
				
			||||||
        filename: 'mobile.js'
 | 
					        filename: 'mobile.js'
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    devtool: 'source-map'
 | 
					    devtool: 'source-map',
 | 
				
			||||||
 | 
					    target: 'electron-main'
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
@ -10,5 +10,6 @@ module.exports = {
 | 
				
			|||||||
        path: path.resolve(__dirname, 'src/public/app-dist'),
 | 
					        path: path.resolve(__dirname, 'src/public/app-dist'),
 | 
				
			||||||
        filename: 'setup.js'
 | 
					        filename: 'setup.js'
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    devtool: 'source-map'
 | 
					    devtool: 'source-map',
 | 
				
			||||||
 | 
					    target: 'electron-main'
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user