parcel-transformer-slm

1.64.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.

Dependents (0)

Package Sidebar

Install

npm i parcel-transformer-slm

Weekly Downloads

2

Version

1.64.0

License

Apache 2.0

Unpacked Size

2.15 kB

Total Files

5

Last publish

Collaborators

  • kevincox