mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
Updated script requires.
This commit is contained in:
parent
ec7d5bdfe2
commit
615a6d444f
6 changed files with 9 additions and 6 deletions
|
|
@ -2,6 +2,9 @@
|
|||
import 'dotenv/config';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import { createRequire } from "module";
|
||||
|
||||
const require = createRequire(import.meta.url);
|
||||
|
||||
const routesManifestPath = path.resolve(process.cwd(), '.next/routes-manifest.json');
|
||||
const originalPath = path.resolve(process.cwd(), '.next/routes-manifest-orig.json');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue