copy locale files to the sites in prebuild
This commit is contained in:
parent
cc233d66cc
commit
e11489349b
3 changed files with 41 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue