forwardemail / email-templates

Create, preview (browser/iOS Simulator), and send custom email templates for Node.js. Made for @forwardemail, @ladjs, @cabinjs, @spamscanner, and @breejs.
https://forwardemail.net/docs/send-emails-with-node-js-javascript
MIT License
3.66k stars 339 forks source link

Added option to pass juiceResources with render and renderAll #403

Closed maabiddevra closed 4 years ago

maabiddevra commented 4 years ago

The example above will be useful when you have a structure like this, this will be useful when you have a separate CSS file for every template

.
├── app.js
└── emails
    └── mars
        ├── html.pug
        ├── text.pug
        ├── subject.pug
        └── style.css
maabiddevra commented 4 years ago

@niftylettuce Can you review this PR

niftylettuce commented 4 years ago

v7.1.1 released to npm, thank you https://github.com/forwardemail/email-templates/releases/tag/v7.1.1

maabiddevra commented 4 years ago

Thank you for considering.