remove export

This commit is contained in:
DefectingCat
2024-02-28 11:25:05 +08:00
parent 616639bd10
commit fbddeb002f
3 changed files with 4 additions and 10 deletions

View File

@ -1,12 +1,10 @@
/**
* @type {import('next').NextConfig}
*/
// const isExport = process.env.NEXT_BUILD === 'export';
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
});
/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
/* config options here */
reactStrictMode: true,

View File

@ -5,7 +5,6 @@
"scripts": {
"dev": "next dev",
"build": "next build && node scripts/build-search.mjs",
"build-export": "cross-env NEXT_BUILD=export next build && cross-env NEXT_BUILD=export next export",
"build-search": "node scripts/build-search.mjs",
"build-local": "next build",
"start": "next start",
@ -58,7 +57,6 @@
"@types/three": "^0.160.0",
"autoprefixer": "^10.4.16",
"clsx": "^2.1.0",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"encoding": "^0.1.13",
"eslint": "8.56.0",

4
pnpm-lock.yaml generated
View File

@ -124,9 +124,6 @@ devDependencies:
clsx:
specifier: ^2.1.0
version: 2.1.0
cross-env:
specifier: ^7.0.3
version: 7.0.3
dotenv:
specifier: ^16.3.1
version: 16.3.1
@ -3678,6 +3675,7 @@ packages:
hasBin: true
dependencies:
cross-spawn: 7.0.3
dev: false
/cross-spawn@7.0.3:
resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}