dsql-admin/dsql-app/postinstall.js

16 lines
355 B
JavaScript
Raw Normal View History

2024-11-05 11:12:42 +00:00
// @ts-check
const fse = require("fs-extra");
const path = require("path");
const topDir = __dirname;
console.log("Running Post Install ...");
fse.emptyDirSync(path.join(topDir, "public", "tinymce"));
fse.copySync(
path.join(topDir, "node_modules", "tinymce"),
path.join(topDir, "public", "tinymce"),
{ overwrite: true }
);