vuepress / vuepress-community

:bulb: Community supported ecosystem for VuePress
https://vuepress-community.netlify.app
MIT License
81 stars 62 forks source link

[Question] vuepress-plugin-typescript #21

Closed Mister-Hope closed 4 years ago

Mister-Hope commented 4 years ago

I am meeting some problems, some of my plugins is using vuepress-plugin-typescript, and I am using them together. So there are muti instance of vuepress-plugin-typescript, and it seems that it will cause a file been handle several time?

image

How I can deal with it ?

Can vuepress just support typescript by it's own?

meteorlxy commented 4 years ago

I remember vuepress will only use a plugin once if it is invloved several times. (without multiple: true in plugin)

In your screenshot, I cannot see ts-loader, so why you think it is caused by vuepress-plugin-typescript?

Mister-Hope commented 4 years ago

Another question, I am meeing GC issues when vuepress is rendering HTML, I hope you can have a look because I can't reproduce it after removing vuepress-plugin-typescript.

See here

Sorry for troubling and taking your time, but I really don't know how to debug it.