mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 12:26:39 -06:00
chore: migrate from Tailwind v3 to v4 and upgrade dependencies
Major changes: - Upgrade Tailwind CSS from v3 to v4 with @tailwindcss/postcss - Remove deprecated Tailwind v3 configuration and PostCSS plugins - Upgrade Zod from v3 to v4 - Update React Markdown and other dependencies to latest versions - Remove @plaiceholder, @headlessui, and other unused dependencies - Replace SCSS with standard CSS globals - Add font packages (@fontsource-variable) for better typography - Consolidate Prettier configuration to .prettierrc - Remove legacy contact page and custom Payload SCSS - Add Mantine hooks and Lucide React for improved UI components
This commit is contained in:
+4
-3
@@ -1,8 +1,6 @@
|
||||
import { withPayload } from "@payloadcms/next/withPayload";
|
||||
// @ts-check
|
||||
|
||||
import withPlaiceholder from "@plaiceholder/next";
|
||||
|
||||
/**
|
||||
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation.
|
||||
* This is especially useful for Docker builds.
|
||||
@@ -70,6 +68,9 @@ const config = {
|
||||
},
|
||||
],
|
||||
},
|
||||
turbopack: {
|
||||
resolveExtensions: ['.tsx', '.ts', '.jsx', '.js', '.mjs', '.json'],
|
||||
},
|
||||
async redirects() {
|
||||
// Source cannot end with / slash
|
||||
return [
|
||||
@@ -92,4 +93,4 @@ const config = {
|
||||
];
|
||||
},
|
||||
};
|
||||
export default withPayload(withPlaiceholder(config));
|
||||
export default withPayload(config);
|
||||
|
||||
Reference in New Issue
Block a user