forwardemail / custom-fonts-in-emails

An extremely easy way to use custom fonts in emails without having to use art software.

Home Page:https://forwardemail.net/docs/custom-fonts-in-emails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question - How to use with browserify

nearAP opened this issue · comments

Hi,

How do I use this with browserify?

When I run - browserify my_source.js -o my_output.js

where 'my_source.js' includes the import command for custom-fonts-in-email, I get the following error - import declarations may only occur at top level of a module

I do not believe you can use this client-side due to the sharp dependency. The warning about import declarations must be an issue with your linting.

K. Thanks