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
{{ message }}
Repository navigation
webpack 5 + Vue + TS-Loader how to use generics? #1620
@Anubarak I stumbled upon the same problem. I decided to give a try to rspack. And it helped. Migration was really straight forward (documentation is really helpful).
Requirements for it was only having vue-loader > v17.2.0. Also adding vue-tsc is required, since rspack only transpiles typescript. But just installing it helped, I have errors highlighted in IDE (phpstorm).
My build is reduced from 12sec to 3sec and generics support in Vue's single file component works now.
Activity
Anubarak commentedon Nov 10, 2023
So I guess this is not possible?
kamilwylegala commentedon Dec 30, 2024
@Anubarak I stumbled upon the same problem. I decided to give a try to rspack. And it helped. Migration was really straight forward (documentation is really helpful).
Requirements for it was only having
vue-loader> v17.2.0. Also addingvue-tscis required, since rspack only transpiles typescript. But just installing it helped, I have errors highlighted in IDE (phpstorm).My build is reduced from 12sec to 3sec and generics support in Vue's single file component works now.