nunta/scripts/render-assets.js
David Miller 591ec679dd update scripts with upath
now using upath within build scripts for better compatibility
2021-03-29 19:45:48 -04: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)
};