nuxt-modules / apollo

Nuxt.js module to use Vue-Apollo. The Apollo integration for GraphQL.
https://apollo.nuxtjs.org
MIT License
955 stars 198 forks source link

fix: adopt forward-compatible approach to `builder:watch` #607

Open danielroe opened 8 months ago

danielroe commented 8 months ago

We are planning to move to emitting absolute paths in builder:watch in Nuxt v4. You can see a little more about the history in the PR linked in that issue.

This PR is an attempt to use a forward/backward compatible approach, namely resolving the path to ensure it's absolute, then making it relative so your existing code will continue to work.

This should be safe to merge as is, but do let me know if you have any concerns about this approach.

netlify[bot] commented 8 months ago

Deploy Preview for apollo-module ready!

Name Link
Latest commit dddd8c1901965017d18a3b29784e9a23ca018ce7
Latest deploy log https://app.netlify.com/sites/apollo-module/deploys/6603090a587a8b0008958a67
Deploy Preview https://deploy-preview-607--apollo-module.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.