Skip to content

Commit

Permalink
fix: use undici
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldElysium committed Oct 30, 2022
1 parent 42fa939 commit 5090977
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
3 changes: 2 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
* @type {import('next').NextConfig}
**/
const nextConfig = {
output: 'standalone',
// output: 'standalone',
experimental: {
appDir: true,
enableUndici: true,
}
};

Expand Down
12 changes: 9 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,20 @@
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true
"incremental": true,
"plugins": [
{
"name": "next"
}
]
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}
}

0 comments on commit 5090977

Please sign in to comment.