591ec679dd
now using upath within build scripts for better compatibility
11 lines
350 B
JavaScript
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)
|
|
}; |