mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
8ec8a21b71
refs: https://github.com/TryGhost/Toolbox/issues/299 - renamed lots of things that reference Ghost admin as "client" - these things make even less sense in a post core/client world
18 lines
444 B
JavaScript
18 lines
444 B
JavaScript
const fs = require('fs-extra');
|
|
const path = require('path');
|
|
|
|
const adminFiles = [
|
|
'server/web/admin/views/default.html',
|
|
'built/assets/ghost.js',
|
|
'built/assets/ghost.css',
|
|
'built/assets/vendor.js',
|
|
'built/assets/vendor.css'
|
|
];
|
|
|
|
module.exports.stubAdminFiles = () => {
|
|
adminFiles.forEach((file) => {
|
|
const filePath = path.resolve(__dirname, '../../core/', file);
|
|
fs.ensureFileSync(filePath);
|
|
});
|
|
};
|