Initial commit: Falcon React v5.1.0 template

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-27 18:25:18 +08:00
commit 1cded9ded0
1348 changed files with 174347 additions and 0 deletions
+12
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 }
);