Skip to content

Commit 7c01419

Browse files
committed
chore(explorer): upgrade to next 15
caveat: * Vercel recommend to use React 19 that's still a release candidate, but it's not compatible with `@reduxjs/toolkit` so React 18.3 is kept. * Version 15 of `eslint-config-next` is compatible with eslint 9 but still ask for version `8.57.1` in its package json, leading to warnings when using `npm install`. We should keep using eslint `8.57` until this is solved. * Vercel say that Turbopack, its webpack replacement made with rust, is ready for use in dev, but when we use it the app crash because it can't import properly the wasm library. We should keep using webpack until this is solved. Note: To test this tool, add ` --turbopack` to the `dev` scripts in package.json.
1 parent dad3dbc commit 7c01419

File tree

4 files changed

+975
-723
lines changed

4 files changed

+975
-723
lines changed

mithril-explorer/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ clean:
5252
rm package-lock.json || true
5353

5454
upgrade: clean install
55-
# Note: eslint versions 9 or up are not compatible with versions 14.2+ of eslint-config-next
56-
# Todo: switch to eslint-config-next@latest when a compatible version is released
55+
# Note: `eslint` versions 9 or up is compatible with versions 15.0+ of `eslint-config-next` but raises warnings when
56+
# using `npm install` (ie: "Conflicting peer dependency: [email protected]").
57+
# Todo: switch to `eslint@latest` when `eslint-config-next` is fully compatible with eslint 9.
5758
npm install \
5859
@popperjs/core@latest \
5960
@reduxjs/toolkit@latest \

mithril-explorer/next.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const nextConfig = {
33
output: "export",
44
basePath: "/explorer",
55
reactStrictMode: true,
6-
swcMinify: true,
76
images: {
87
unoptimized: true,
98
},

0 commit comments

Comments
 (0)