mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 18:49:00 +01:00
chore(dx/server): remove babel compacting for tiny gain in perf
This commit is contained in:
parent
1b25275b2e
commit
cf1180faa9
@ -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"),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user