11 lines
344 B
JavaScript
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)
|
|
}; |