nuxt-modules / design-tokens

Design tokens module for Nuxt
https://design-tokens.nuxtjs.org
MIT License
50 stars 3 forks source link

fix: import performance explicitly #5

Closed danielroe closed 2 years ago

danielroe commented 2 years ago

🔗 Linked issue

❓ Type of change

📚 Description

Currently this module doesn't run on Node 14. The following error is thrown:

 ERROR  Could not build tokens!                                               design-tokens 15:40:33
 ERROR  performance is not defined                                            design-tokens 15:40:33

This PR resolves the issue by explicitly importing performance.

📝 Checklist

netlify[bot] commented 2 years ago

Deploy Preview for nuxt-design-tokens ready!

Name Link
Latest commit 80b6810646e1d257457d0a678af503379a726dd6
Latest deploy log https://app.netlify.com/sites/nuxt-design-tokens/deploys/62e937acce0307000828a454
Deploy Preview https://deploy-preview-5--nuxt-design-tokens.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 settings.