Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bfulop/mjml-ncc-build
- Owner: bfulop
- License: mit
- Created: 2019-02-25T09:29:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-25T11:23:29.000Z (almost 6 years ago)
- Last Synced: 2024-11-21T14:41:37.986Z (2 months ago)
- Language: JavaScript
- Size: 1.03 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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.