You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Vitepress+@ highlightjs/vue plugin to build my documentation webpage, and there were no issues during development. However, when I was packaging it, it prompted me with 'SyntaxError: The requested module' @ highlightjs/vue plugin 'does not provide an export named' default '
The text was updated successfully, but these errors were encountered:
vitepress v1.5.0
⠙ building client + server bundles...
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ building client + server bundles...
build error:
The requested module '@highlightjs/vue-plugin' does not provide an export named 'default'
file:///home/adam/dev/lb/io/docs/.vitepress/.temp/app.js:13
import hljsVuePlugin from "@highlightjs/vue-plugin";
^^^^^^^^^^^^^
SyntaxError: The requested module '@highlightjs/vue-plugin' does not provide an export named 'default'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:132:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:214:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
at async build (file:///home/adam/dev/lb/io/docs/node_modules/vitepress/dist/node/chunk-DMuPggCS.js:49296:24)
I am using Vitepress+@ highlightjs/vue plugin to build my documentation webpage, and there were no issues during development. However, when I was packaging it, it prompted me with 'SyntaxError: The requested module' @ highlightjs/vue plugin 'does not provide an export named' default '
The text was updated successfully, but these errors were encountered: