Make the ESM cache hook ESM-only

This commit is contained in:
Jordan Pittman 2024-08-23 14:15:25 -04:00 • committed by Philipp Spiess
parent 1b848f38b0
commit 85d6da4884
5 changed files with 7 additions and 9 deletions

View file

@ -1,4 +0,0 @@
import { register } from 'node:module'
import { pathToFileURL } from 'node:url'
register(pathToFileURL(require.resolve('@tailwindcss/node/esm-cache-loader')))