antfu / vite-plugin-md

Markdown with Vue for Vite
MIT License
604 stars 89 forks source link

fix: can't found prism components #94

Closed kecrily closed 2 years ago

kecrily commented 2 years ago

After prism becomes devDependencies, the highlighter cannot find the component for the corresponding language.

Cannot find module './prism-shell-session'

One thing I feel strange is that after prism is changed back to dependencies, the size of the build result becomes smaller instead.

622.23 KB -> 548.68 KB
devDependencies -> dependencies
yankeeinlondon commented 2 years ago

sorry, i got my PR's mixed up ... i will look into this and reopen

yankeeinlondon commented 2 years ago

This was fixed independently with my last code push so I'll close this ok?