INNER CODE UNIT · JavaScript
copyLinkedStylesheets
o19s/quepid · build_css.js:114
function copyLinkedStylesheets() {
console.log('Copying linked stylesheets...');
ensureDirectoryExists('app/assets/builds');
copyFileIfExists(
'app/assets/stylesheets/json-explorer.css',
'app/assets/builds/json-explorer.css'
);
}
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');