Skip to content

Commit 6857594

Browse files
committed
chore: Fixes build
1 parent e9ecaaa commit 6857594

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/core/scripts/fetch-locales.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
* It generates a JSON file consumed during Next.js build to configure i18n.
55
*/
66

7+
const path = require('path')
8+
const fs = require('fs/promises')
9+
710
// NOTE: uncomment when running locally:
8-
// const path = require('path')
9-
// const fs = require('fs/promises')
10-
// const dotenv = require('dotenv')
11-
// dotenv.config({ path: path.resolve(__dirname, '../.env') })
11+
const dotenv = require('dotenv')
12+
dotenv.config({ path: path.resolve(__dirname, '../.env') })
1213

1314
const { FastStoreSDK } = require('@vtex/faststore-sdk')
1415
const storeConfig = require('../discovery.config')

0 commit comments

Comments
 (0)