-
-
Notifications
You must be signed in to change notification settings - Fork 98
Description
Error Explained
The file in tailwindcss currently is written in the CommonJS format. But according to package.json and tsconfig.json it must be in ESM.
Steps to reproduce error
npm install
npm run build
Expected Behaviour
must be build without error resulting in the dist file
Actual Behaviour / relevant logs
Causes following error:
ReferenceError: module is not defined
at file:///D:/contributions/Social-Street-Smart/NewClient/tailwind.config.js:2:1
at ModuleJobSync.runSync (node:internal/modules/esm/module_job:395:35)
at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:329:47)
at loadESMFromCJS (node:internal/modules/cjs/loader:1414:24)
at Module._compile (node:internal/modules/cjs/loader:1547:5)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels