Skip to content

Commit

Permalink
fix for error: Cannot find module '/var/task/node_modules/shiki/dist/…
Browse files Browse the repository at this point in the history
…core.mjs'
  • Loading branch information
vernaillen committed Aug 11, 2024
1 parent 564654f commit 7f3eb34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ export default defineNuxtConfig({
throws: false
},

build: {
// workaround fix for error: Cannot find module '/var/task/node_modules/shiki/dist/core.mjs'
// https://github.com/nuxt/nuxt/issues/28127
transpile: ['shiki']
},

ui: {
icons: ['heroicons', 'simple-icons']
},
Expand Down

0 comments on commit 7f3eb34

Please sign in to comment.