From 7aa51a5b883bad84e85c08948b1fa04dd141762c Mon Sep 17 00:00:00 2001 From: Naman Goel Date: Sun, 12 Jan 2025 20:05:31 -0800 Subject: [PATCH] fix: use ESM imports in CLI --- 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;