Copy fonts
This commit is contained in:
parent
98815d65f1
commit
3dffd5fed0
2 changed files with 9 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
"devDependencies": {
|
||||
"browserify": "14.3.0",
|
||||
"livereload": "0.6.2",
|
||||
"ncp": "2.0.0",
|
||||
"node-sass": "4.5.2",
|
||||
"node-watch": "0.5.2",
|
||||
"uglifyify": "3.0.4"
|
||||
|
|
|
@ -4,6 +4,7 @@ const path = require('path');
|
|||
const watch = require('node-watch');
|
||||
const browserify = require('browserify');
|
||||
const livereload = require('livereload');
|
||||
const nsp = require('ncp').ncp;
|
||||
|
||||
const STATIC = path.join(__dirname, '..', 'static')
|
||||
|
||||
|
@ -47,6 +48,13 @@ const buildSCSS = function () {
|
|||
});
|
||||
}
|
||||
|
||||
nsp('node_modules/font-awesome/fonts', path.join(STATIC, 'build', 'fonts'), function (err) {
|
||||
if (err) {
|
||||
return console.error(err);
|
||||
}
|
||||
console.log('Copied fonts');
|
||||
});
|
||||
|
||||
bundle();
|
||||
buildSCSS();
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue