Init(Core): add project to new repo
This commit is contained in:
5
app/postinstall.js
Normal file
5
app/postinstall.js
Normal file
@@ -0,0 +1,5 @@
|
||||
const fse = require('fs-extra');
|
||||
const path = require('path');
|
||||
const topDir = __dirname;
|
||||
fse.emptyDirSync(path.join(topDir, 'public', 'tinymce'));
|
||||
fse.copySync(path.join(topDir, 'node_modules', 'tinymce'), path.join(topDir, 'public', 'tinymce'), { overwrite: true });
|
||||
Reference in New Issue
Block a user