From 95caddc8d0a2c54ef431295d2937095f6561de6d Mon Sep 17 00:00:00 2001 From: Naman Goel Date: Mon, 13 Jan 2025 13:29:31 -0800 Subject: [PATCH] fix: use ESM imports in CLI (#854) --- packages/cli/src/cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/cache.js b/packages/cli/src/cache.js index 2346a414..c585a7ee 100644 --- a/packages/cli/src/cache.js +++ b/packages/cli/src/cache.js @@ -8,7 +8,7 @@ */ import fs from 'fs/promises'; import path from 'path'; -const { utils } = require('@stylexjs/shared'); +import { utils } from '@stylexjs/shared'; const hash = utils.hash;