Add recursive folder creation to gulpfile langs() function because it goes inside the scrints dest folder (maybe should add a function that creates these in a loop buuuuut whatever) close #536

merge-requests/341/head
Thomas Lynch 8 months ago
parent c1936545bc
commit a971d9c021
  1. 2
      gulpfile.js

@ -462,7 +462,7 @@ async function custompages() {
async function langs() {
const i18n = require(__dirname+'/lib/locale/locale.js');
await del([ 'static/js/lang/' ]);
fs.mkdirSync(`${paths.scripts.dest}lang/`);
fs.mkdirSync(`${paths.scripts.dest}lang/`, { recursive: true });
const feStrings = require(__dirname+'/tools/festrings.json');
Object.entries(i18n.getCatalog())
.forEach(entry => {

Loading…
Cancel
Save