mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 22:00:33 +08:00
chore(dx/server): remove babel compacting for tiny gain in perf
This commit is contained in:
parent
1b25275b2e
commit
cf1180faa9
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue