Skip to content

Commit

Permalink
fix: fix mkdirp import
Browse files Browse the repository at this point in the history
  • Loading branch information
cwillisf committed Oct 29, 2024
1 parent b501bdd commit cfd31fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit cfd31fd

Please sign in to comment.