fix: minify incorrect (#23)

* fix: minify incorrect

* chore: format
This commit is contained in:
Whitewater 2022-10-14 19:29:36 +08:00 committed by GitHub
parent a8d580d46a
commit cf99129205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 22 deletions

View File

@ -1,22 +1,20 @@
{
"name": "pathfinder",
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "pnpm --filter @pathfinder/app dev",
"build": "pnpm --filter @pathfinder/app build",
"export": "pnpm --filter @pathfinder/app export",
"start": "pnpm --filter @pathfinder/app start",
"lint": "pnpm --filter @pathfinder/app lint"
},
"dependencies": {
},
"devDependencies": {
"prettier": "^2.7.1",
"eslint": "8.22.0",
"eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1"
}
"name": "pathfinder",
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "pnpm --filter @pathfinder/app dev",
"build": "pnpm --filter @pathfinder/app build",
"export": "pnpm --filter @pathfinder/app export",
"start": "pnpm --filter @pathfinder/app start",
"lint": "pnpm --filter @pathfinder/app lint"
},
"dependencies": {},
"devDependencies": {
"prettier": "^2.7.1",
"eslint": "8.22.0",
"eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1"
}
}

View File

@ -1,7 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
productionBrowserSourceMaps: true,
reactStrictMode: false,
swcMinify: true,
swcMinify: false,
};
module.exports = nextConfig;

View File

@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2020",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,