Skip to content

Commit

Permalink
chore: upgrade to react 19
Browse files Browse the repository at this point in the history
  • Loading branch information
cseas committed Dec 22, 2024
1 parent a065e9e commit ecf431b
Show file tree
Hide file tree
Showing 17 changed files with 10,668 additions and 13,312 deletions.
8 changes: 4 additions & 4 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Home } from "../src/Home/Home.js";
import { pageMeta } from "../src/Home/meta.js";
import { config } from "../src/config.js";
import { getSortedPostsData } from "../src/lib/posts.js";
import { Home } from "../src/Home/Home";
import { pageMeta } from "../src/Home/meta";
import { config } from "../src/config";
import { getSortedPostsData } from "../src/lib/posts";

import type { Metadata } from "next";

Expand Down
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
5 changes: 0 additions & 5 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ export default {
},

webpack: (config) => {
// allow .js file extension in imports for moduleResolution: node16
// https://github.com/vercel/next.js/discussions/41189#discussioncomment-3806170
config.resolve.extensionAlias = {
".js": [".js", ".ts", ".tsx"],
};
config.resolve.fallback = { fs: false }; // for using 'fs' import
return config;
},
Expand Down
Loading

0 comments on commit ecf431b

Please sign in to comment.