Morgbn / nuxt-csurf

Nuxt Cross-Site Request Forgery (CSRF) Prevention
https://nuxt-csurf.vercel.app
MIT License
81 stars 16 forks source link

Keep plugin type after building #23

Closed linhmtran168 closed 6 months ago

linhmtran168 commented 11 months ago

May fix https://github.com/Morgbn/nuxt-csurf/issues/19

It seems that there is an issue in nuxt-module-builder that makes plugin types are not preserved in build output. This fix takes reference from the fix in @nuxt/pinia module https://github.com/vuejs/pinia/pull/2147

Morgbn commented 6 months ago

Hello @linhmtran168, I think this problem is solved, thanks for the pull request ;)