mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +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}/`,
|
||||
root: path.join(srcRoot, "../client"),
|
||||
plugins: [
|
||||
preact()
|
||||
preact({
|
||||
babel: {
|
||||
compact: false
|
||||
}
|
||||
})
|
||||
],
|
||||
define: {
|
||||
"process.env.IS_PREACT": JSON.stringify("true"),
|
||||
|
||||
Reference in New Issue
Block a user