mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(edit-docs): apply same changes as desktop
This commit is contained in:
parent
0b00c73ed3
commit
a10e3e0088
@ -21,7 +21,7 @@
|
||||
"cache": true,
|
||||
"configurations": {
|
||||
"default": {
|
||||
"command": "cross-env DEBUG=* tsx scripts/rebuild.ts",
|
||||
"command": "cross-env DEBUG=* tsx scripts/rebuild.mts",
|
||||
"cwd": "{projectRoot}"
|
||||
},
|
||||
"nixos": {
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname, join } from "path";
|
||||
import rebuild from "@electron/rebuild"
|
||||
import { rebuild } from "@electron/rebuild"
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
const scriptDir = dirname(fileURLToPath(import.meta.url));
|
Loading…
x
Reference in New Issue
Block a user