mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	chore(dx/server): remove babel compacting for tiny gain in perf
This commit is contained in:
		@@ -29,7 +29,11 @@ async function register(app: express.Application) {
 | 
				
			|||||||
            base: `/${assetUrlFragment}/`,
 | 
					            base: `/${assetUrlFragment}/`,
 | 
				
			||||||
            root: path.join(srcRoot, "../client"),
 | 
					            root: path.join(srcRoot, "../client"),
 | 
				
			||||||
            plugins: [
 | 
					            plugins: [
 | 
				
			||||||
                preact()
 | 
					                preact({
 | 
				
			||||||
 | 
					                    babel: {
 | 
				
			||||||
 | 
					                        compact: false
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                })
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            define: {
 | 
					            define: {
 | 
				
			||||||
                "process.env.IS_PREACT": JSON.stringify("true"),
 | 
					                "process.env.IS_PREACT": JSON.stringify("true"),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user