add temp simplified copy to cms script

This commit is contained in:
Mads Rasmussen
2023-05-25 09:36:21 +02:00
parent dd180320f7
commit 5a16fa9c2a
3 changed files with 12 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
import { cpSync } from 'fs';
// TODO: Simplified version of utils/move-libs.js
// We need to update this to support the same parts as move-libs.js
const srcDir = './dist-cms';
const outputDir = '../Umbraco.Cms.StaticAssets/wwwroot/umbraco/backoffice';
cpSync(srcDir, outputDir, { recursive: true });