Skip to content

Commit

Permalink
add logging to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamauchi committed Nov 15, 2023
1 parent 0cb4554 commit 26c22da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/parcel-resolver-locales.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ async function allXlfFiles(projectRoot) {
export default new Resolver({
async resolve({ specifier, options: { projectRoot } }) {
if (specifier.startsWith('locales:')) {
console.log('running lit-localize for', specifier);
await promisify(exec)('npx lit-localize build');
console.log('done');

const locale = specifier.substring('locales:'.length);
const filePath =
Expand Down

0 comments on commit 26c22da

Please sign in to comment.