vue-prism-component icon indicating copy to clipboard operation
vue-prism-component copied to clipboard

bundle Prism in the ESM version to prevent Vite issues

Open mesqueeb opened this issue 4 years ago • 5 comments

fixes: #40

PS: we can remove --bundle-node-modules again once the ESM version of Prism comes out.

mesqueeb avatar Jul 19 '21 09:07 mesqueeb

fixes: #40

mesqueeb avatar Jul 19 '21 09:07 mesqueeb

@egoist kindly review this small PR with great benefit : )

mesqueeb avatar Jul 20 '21 15:07 mesqueeb

After SO MUCH debugging because my own lib didn't work in Vite this is the problem.... pls @egoist review and accept this

Nisgrak avatar Sep 27 '21 22:09 Nisgrak

I create a fork with the dist of your fork, so anyone can install directly https://github.com/Nisgrak/vue-prism-component

npm i https://github.com/Nisgrak/vue-prism-component
yarn add https://github.com/Nisgrak/vue-prism-component

Nisgrak avatar Sep 27 '21 22:09 Nisgrak

@Nisgrak i also wasted about 4+ hours on this issue, but I learned alittre bit while finding out what exactly was going wrong. : )

mesqueeb avatar Sep 27 '21 23:09 mesqueeb