nuxt-modules / partytown

Partytown integration for Nuxt. Run third-party scripts from a web worker.
MIT License
318 stars 8 forks source link

Use the build:compiled hook for nuxt 2 compatibility, fixes #12 #228

Open jonathanselander opened 1 year ago

jonathanselander commented 1 year ago

Apparently the generate:done hook doesn't (at least not for me) always run when i build nuxt 2 projects. build:compiled seems to do the trick