2020-04-07 00:19:58 +02:00
|
|
|
'use strict';
|
|
|
|
const fs = require('fs');
|
2021-03-30 01:45:48 +02:00
|
|
|
const upath = require('upath');
|
2020-04-07 00:19:58 +02:00
|
|
|
const sh = require('shelljs');
|
|
|
|
|
|
|
|
module.exports = function renderAssets() {
|
2021-03-30 01:45:48 +02:00
|
|
|
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)
|
|
|
|
};
|