Skip to content

Commit

Permalink
attempt to fix build error related to shiki
Browse files Browse the repository at this point in the history
Signed-off-by: Vu Van Dung <[email protected]>
  • Loading branch information
joulev committed May 13, 2024
1 parent 38545ff commit 4fe36ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const withMDX = createMDX({
const nextConfig = {
experimental: {
webpackBuildWorker: true,
optimizePackageImports: ["shiki"],
},
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
images: {
Expand Down

0 comments on commit 4fe36ad

Please sign in to comment.