Clean install with base installtion, no additional modules or package, gives the following error:
➜ project git:(master) ✗ npm run build
> build
> vite build
vite v5.4.10 building for production...
transforming (1) resources/js/app.js(node:67373) ExperimentalWarning: CommonJS module /project/node_modules/tailwindcss/lib/lib/load-config.js is loading ES Module /project/tailwind.config.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
file:///project/tailwind.config.js:1
const defaultTheme = require('tailwindcss/defaultTheme')
^
ReferenceError: require is not defined
Clean install with base installtion, no additional modules or package, gives the following error: