1
0
Fork 0

copy locale files to the sites in prebuild

This commit is contained in:
Enoch Riese 2022-07-23 23:16:25 -05:00
parent cc233d66cc
commit e11489349b
3 changed files with 41 additions and 2 deletions

View file

@ -1,4 +1,7 @@
import {build} from '../src/prebuild.mjs'
// use a deny-list to keep locales that aren't ready out of the build
export const denyList = ['uk']
// call this here instead of in the src/prebuild.mjs so that build isn't called by other files importing that build function
build()
build((loc) => denyList.indexOf(loc) === -1)