Files
AnaLogger/server/scripts/render-assets.js
T
Marco Locatelli ce2e4c523e initial commit
2021-03-09 15:22:10 +01:00

11 lines
350 B
JavaScript

'use strict';
const fs = require('fs');
const upath = require('upath');
const sh = require('shelljs');
module.exports = function renderAssets() {
const sourcePath = upath.resolve(upath.dirname(__filename), '../src/assets');
const destPath = upath.resolve(upath.dirname(__filename), '../dist/.');
sh.cp('-R', sourcePath, destPath)
};