parcel-transformer-slm

    1.19.0 • Public • Published

    parcel-transformer-slm

    A Parcel 2 transformer for slm.

    Notable Missing Features

    • Imports are not resolved via parcel. This means that all inputs such as partials must be real files on disk.
    • Currently relies on a private interface to identify imported files.
    • Ability to compile to client-side templates.

    Configuration

    Enable the transformer:

    // .parcelrc
    {
    	extends: ["@parcel/config-default"],
    	transforms: {
    		"*.slm": ["parcel-transformer-slm"],
    	},
    }

    Configure slm:

    // slm.config.js
    module.exports = {
    	format: "html",
    };

    Stability

    This package follows semver.

    • Changes to the exact HTML output is not considered a breaking change.

    Keywords

    none

    Install

    npm i parcel-transformer-slm

    DownloadsWeekly Downloads

    53

    Version

    1.19.0

    License

    Apache 2.0

    Unpacked Size

    2.16 kB

    Total Files

    5

    Last publish

    Collaborators

    • kevincox