Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding netlify adapter #2

Merged
merged 10 commits into from
Jul 8, 2023
Merged

adding netlify adapter #2

merged 10 commits into from
Jul 8, 2023

Conversation

nikolovlazar
Copy link
Member

@nikolovlazar nikolovlazar commented Jul 8, 2023

Using the @resvg/resvg-js package with Netlify Functions requires a bit of configuration:

  • add the @resvg/resvg-js package it in the optimizeDeps.exclude
  • install the @resvg/resvg-js-linux-x64-gnu
  • create a netlify.toml file where I'm marking the @resvg/resvg-js package as an external module

@netlify
Copy link

netlify bot commented Jul 8, 2023

Deploy Preview for creatures-dev ready!

Name Link
🔨 Latest commit 451ccf5
🔍 Latest deploy log https://app.netlify.com/sites/creatures-dev/deploys/64a9eeb79cdf260008c2d0ff
😎 Deploy Preview https://deploy-preview-2--creatures-dev.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.

@nikolovlazar nikolovlazar merged commit 91de617 into main Jul 8, 2023
@nikolovlazar nikolovlazar deleted the feature/netlify-adapter branch July 8, 2023 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant