File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import type { LocaleObject } from '@nuxtjs/i18n'
22import { localcertKeyPath , localcertPath } from '@local/common/dev/cert'
33import { getConvexEnvs } from 'backend-convex/_util'
44import { config } from 'dotenv'
5+ import { type BundledLanguage , bundledLanguagesInfo } from 'shiki/bundle/full'
56import optimizeExclude from 'vite-plugin-optimize-exclude'
67
78if ( import . meta. env . NODE_ENV === 'development' ) {
@@ -126,25 +127,8 @@ export default defineNuxtConfig({
126127 mdc : {
127128 highlight : {
128129 wrapperStyle : true ,
129- noApiRoute : true ,
130- langs : [
131- 'bash' ,
132- 'batch' ,
133- 'css' ,
134- 'html' ,
135- 'js' ,
136- 'json' ,
137- 'jsx' ,
138- 'md' ,
139- 'mdc' ,
140- 'py' ,
141- 'sass' ,
142- 'terraform' ,
143- 'ts' ,
144- 'tsx' ,
145- 'vue' ,
146- 'yaml' ,
147- ] ,
130+ // noApiRoute: true,
131+ langs : bundledLanguagesInfo . map ( l => l . id ) as BundledLanguage [ ] ,
148132 } ,
149133 keepComments : true ,
150134 } ,
You can’t perform that action at this time.
0 commit comments