Compiles HTL templates to JS functions

Usage no npm install needed!

<script type="module">
  import adobeParcelPluginHtl from 'https://cdn.skypack.dev/@adobe/parcel-plugin-htl';


Parcel Plugin HTL

This is a plugin for Parcel which compiles *.htl (i.e. Sightly) templates into dist/*.js output.


codecov CircleCI GitHub license GitHub issues npm Greenkeeper badge


Add @adobe/parcel-plugin-htl to your devDependencies and then run

npx parcel build src/*.htl --target node

Note: due to a bug in the parcel bundler, the --target node option is required.