Skip to content

Commit 6d39aa2

Browse files
committed
fix: optimize icons for imports
1 parent c3bf77e commit 6d39aa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

next.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ const config = {
9090
// increase the default timeout for the proxy from 30s to 10m to allow for
9191
// long running requests to the backend
9292
proxyTimeout: 1000 * 60 * 10,
93-
esmExternals: "loose"
93+
esmExternals: "loose",
94+
optimizePackageImports: ["@flanksource/icons"]
9495
},
9596
transpilePackages: ["monaco-editor", "@flanksource/icons"]
9697
};

0 commit comments

Comments
 (0)