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
+18 -20
View File
@@ -1,22 +1,20 @@
{ {
"name": "pathfinder", "name": "pathfinder",
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "pnpm --filter @pathfinder/app dev", "dev": "pnpm --filter @pathfinder/app dev",
"build": "pnpm --filter @pathfinder/app build", "build": "pnpm --filter @pathfinder/app build",
"export": "pnpm --filter @pathfinder/app export", "export": "pnpm --filter @pathfinder/app export",
"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", "eslint-config-next": "12.3.1",
"eslint-config-next": "12.3.1", "eslint-config-prettier": "^8.5.0",
"eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1"
"eslint-plugin-prettier": "^4.2.1"
}
} }
}
+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;
+1 -1
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,