UNPKG

mapleify

Version:

Mapleify is a build tool for Maple.js; it uses Polymer's vulcanize to process HTML imports with a little twist of Maple specific logic for HTML Import paths, and the processing of SASS/JSX documents.

23 lines (13 loc) 897 B
# Mapleify ![Travis](http://img.shields.io/travis/Wildhoney/Mapleify.svg?style=flat)   ![npm](http://img.shields.io/npm/v/mapleify.svg?style=flat)   ![License MIT](http://img.shields.io/badge/License-MIT-lightgrey.svg?style=flat) * **npm:** `npm install mapleify -g` --- ## Getting Started `Mapleify` accepts the same arguments as [`vulcanize`](https://github.com/polymer/vulcanize): > `mapleify input.html -o output.html` In comparing `Mapleify` to `vulcanize` – `Mapleify` supports the compilation of JSX and SASS documents. It also adds the path of the component as a `ref` attribute to the `template` element – this is crucial in maintaining the automagical nature of [`Maple`](https://github.com/Wildhoney/Maple.js) – and the reason why you would `Mapleify` — rather than `vulcanize` — your Maple apps. ![Screenshot](media/Screenshot%231.png)