From cfd31fda7157c287bf3ca21688afefcb90bae2a0 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:26:41 -0700 Subject: [PATCH] fix: fix mkdirp import --- scripts/build-data.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-data.mjs b/scripts/build-data.mjs index b6f12aaa..9bb4a10d 100755 --- a/scripts/build-data.mjs +++ b/scripts/build-data.mjs @@ -40,12 +40,12 @@ Missing locales are ignored, react-intl will use the default messages for them. */ import * as fs from 'fs'; import * as path from 'path'; -import {sync as mkdirpSync} from 'mkdirp'; +import mkdirp from 'mkdirp'; import defaultsDeep from 'lodash.defaultsdeep'; import locales from '../src/supported-locales.mjs'; const MSGS_DIR = './locales/'; -mkdirpSync(MSGS_DIR); +mkdirp.sync(MSGS_DIR); let missingLocales = []; const combineJson = (component) => {