You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
344 B
11 lines
344 B
'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) |
|
}; |