Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bfulop/zeitwithyarn
trying to get MJML running on Zeit
https://github.com/bfulop/zeitwithyarn
Last synced: 11 days ago
JSON representation
trying to get MJML running on Zeit
- Host: GitHub
- URL: https://github.com/bfulop/zeitwithyarn
- Owner: bfulop
- Created: 2019-02-11T18:33:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T17:58:22.000Z (almost 6 years ago)
- Last Synced: 2024-11-21T14:41:36.866Z (2 months ago)
- Language: JavaScript
- Size: 1.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Running [MJML](https://mjml.io) rendering on Zeit Now
See [this issue](https://github.com/zeit/ncc/issues/276), for the error when trying to import the mJML library into a project and deploying to Zeit Now.
Using the `rolliup.config.js` of this repo, as an intermediate step seems to resolve the issue.
Please note, that I'm not exactly sure why this works, I just arrived to this setup via trial and error!
So the steps to run your MJML project on Zeit:
1. `rollup -c`
2. `ncc build bundle/date.js` => this step will soon no longer be necessary when Zeit updates the ncc library used on their deploys
3. `now`