INNER CODE UNIT · JavaScript
copyFontFiles
o19s/quepid · build_css.js:125
function copyFontFiles() {
console.log('Copying font files...');
ensureDirectoryExists('app/assets/builds/fonts');
copyFileIfExists('node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff', 'app/assets/builds/fonts/bootstrap-icons.woff');
copyFileIfExists('node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2', 'app/assets/builds/fonts/bootstrap-icons.woff2');
}
function copyImageFiles() {
console.log('Copying image files...');
ensureDirectoryExists('app/assets/builds/images');
copyFileIfExists('public/images/querqy-icon.png', 'app/assets/builds/images/querqy-icon.png');
}
function buildAllCSS() {