This commit is contained in:
2025-12-09 21:33:36 +03:00
commit 894320bd80
2486 changed files with 393202 additions and 0 deletions

12
postinstall.js Normal file
View File

@@ -0,0 +1,12 @@
import fse from 'fs-extra';
import path, { dirname } from 'path';
// const topDir = import.meta.dirname;
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
fse.emptyDirSync(path.join(__dirname, 'public', 'tinymce'));
fse.copySync(
path.join(__dirname, 'node_modules', 'tinymce'),
path.join(__dirname, 'public', 'tinymce'),
{ overwrite: true }
);