mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 21:32:39 +02:00
feat: add experimental package import optimization configuration
This commit is contained in:
parent
b1631cd6f1
commit
8a8af948db
1 changed files with 10 additions and 0 deletions
|
|
@ -24,6 +24,16 @@ const nextConfig: NextConfig = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
experimental: {
|
||||||
|
optimizePackageImports: [
|
||||||
|
"lucide-react",
|
||||||
|
"@tabler/icons-react",
|
||||||
|
"date-fns",
|
||||||
|
"@assistant-ui/react",
|
||||||
|
"@assistant-ui/react-markdown",
|
||||||
|
"motion",
|
||||||
|
],
|
||||||
|
},
|
||||||
// Turbopack config (used during `next dev --turbopack`)
|
// Turbopack config (used during `next dev --turbopack`)
|
||||||
turbopack: {
|
turbopack: {
|
||||||
rules: {
|
rules: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue