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
3 changed files with 21 additions and 22 deletions

View File

@@ -9,8 +9,7 @@
"start": "pnpm --filter @pathfinder/app start", "start": "pnpm --filter @pathfinder/app start",
"lint": "pnpm --filter @pathfinder/app lint" "lint": "pnpm --filter @pathfinder/app lint"
}, },
"dependencies": { "dependencies": {},
},
"devDependencies": { "devDependencies": {
"prettier": "^2.7.1", "prettier": "^2.7.1",
"eslint": "8.22.0", "eslint": "8.22.0",
@@ -18,5 +17,4 @@
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1" "eslint-plugin-prettier": "^4.2.1"
} }
} }

View File

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

View File

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