Fix: Rename tailwind.config.js to .cjs in Admin package
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m27s
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m27s
The Admin package uses 'type': 'module' in package.json, which treats .js files as ESM. However, tailwind.config.js uses CommonJS syntax (module.exports). Renaming it to .cjs explicitly tells Node and build tools to treat it as CommonJS, resolving build errors related to ESM/CJS interop.
This commit is contained in:
Reference in New Issue
Block a user