nunta/scripts/render-assets.js

11 lines
350 B
JavaScript
Raw Normal View History

2020-04-07 00:19:58 +02:00
'use strict';
const fs = require('fs');
const upath = require('upath');
2020-04-07 00:19:58 +02:00
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/.');
2020-04-07 00:19:58 +02:00
sh.cp('-R', sourcePath, destPath)
};