// @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 } );