Add "type": "module" to frontend/package.json so Vite loads vite.config.ts as ESM instead of CJS. Convert the three CJS config files to ESM: - tailwind.config.js: require/module.exports → import/export default - theme/colors.js: require → import - postcss.config.js → postcss.config.cjs (PostCSS config stays CJS)