Skip to content

Commit

Permalink
Fix Shiki building
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed Jun 20, 2024
1 parent 95d58f5 commit 0739336
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clients/apps/web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ const nextConfig = {
transpilePackages: ['polarkit'],
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],

experimental: {
optimizePackageImports: ['shiki'],
},

// Do not do any fiddling with trailing slashes
trailingSlash: undefined,
skipTrailingSlashRedirect: true,
Expand Down

0 comments on commit 0739336

Please sign in to comment.