nunta/scripts/render-assets.js
2020-04-06 18:19:58 -04:00

11 lines
344 B
JavaScript

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