mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 10:39: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}/`,
|
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"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user