mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: upgrade next to v13
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
// @ts-check
|
||||
const withTM = require('next-transpile-modules')([
|
||||
'@toeverything/pathfinder-logger',
|
||||
]);
|
||||
|
||||
const { getGitVersion, getCommitHash } = require('./scripts/gitInfo');
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = withTM({
|
||||
const nextConfig = {
|
||||
productionBrowserSourceMaps: true,
|
||||
reactStrictMode: true,
|
||||
swcMinify: false,
|
||||
@@ -18,6 +14,6 @@ const nextConfig = withTM({
|
||||
VERSION: getGitVersion(),
|
||||
COMMIT_HASH: getCommitHash(),
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"@toeverything/pathfinder-logger": "workspace:@pathfinder/logger@*",
|
||||
"css-spring": "^4.1.0",
|
||||
"lit": "^2.3.1",
|
||||
"next": "12.3.1",
|
||||
"next": "13.0.1",
|
||||
"next-transpile-modules": "^9.1.0",
|
||||
"prettier": "^2.7.1",
|
||||
"quill": "^1.3.7",
|
||||
|
||||
Reference in New Issue
Block a user