27 lines
566 B
JavaScript
27 lines
566 B
JavaScript
![]() |
import { prebuildRunner } from '../shared/prebuild/runner.mjs'
|
||
|
|
||
|
/*
|
||
|
* This handles the prebuild step for FreeSewing.dev
|
||
|
* It runs via an NPM run script, so in a pure NodeJS context
|
||
|
*
|
||
|
* See the org or dev site for an example with inline-comments
|
||
|
*/
|
||
|
prebuildRunner({
|
||
|
site: 'sde',
|
||
|
prebuild: {
|
||
|
// Always prebuild
|
||
|
i18n: true,
|
||
|
navigation: true,
|
||
|
// Never prebuild
|
||
|
designs: false,
|
||
|
favicon: false,
|
||
|
ogImages: false,
|
||
|
docs: false,
|
||
|
contributors: false,
|
||
|
crowdin: false,
|
||
|
git: false,
|
||
|
patrons: false,
|
||
|
posts: false,
|
||
|
},
|
||
|
})
|