Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bfulop/mjml-ncc-build

just a build of the mjml package with ncc
https://github.com/bfulop/mjml-ncc-build

Last synced: 11 days ago
JSON representation

just a build of the mjml package with ncc

Awesome Lists containing this project

README

        

# A build of MJML email creator with NCC

Why?

If just you do `npm install mjml` then `ncc` will not be able to compile it, and run it on the Zeit Now infrastructure. The problem is a deep dependency `uglify-js` that is actually never used when compiling emails.

This build just replaces the `require(uglify-js)` with an empty object so that `ncc` and deployment can run succesfully.

That's all.