browserify transform for ractive
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.travis.yml
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

ractive-browserify

Build Status npm install npm version License

Browserify transform for Ractive

usage

Use it as a browserify transform and require any file with .ract extension. Alternatively, specify your own extension via the extension option:

"transform": [
    ["ractive-browserify", {"extension": "html"}]
]

options

  • extension - A string specifying what file extension to parse. Defaults to "ract"

notes

Previous versions supported a justTemplate option, but newer Ractive parsing methods only output the template so it has been removed until otherwise necessary/supported.

why

The focus of ractive-transform is to keep releases up-to-date with Ractive, ideally same-day. This is accomplished by keeping the code and tests simple, requiring (in most cases) a simple version bump and re-publish. The idea currently is to keep major and minor version numbers in-sync with Ractive in order to make it easy to update alongside of it.

other options

There are plenty of other options for Ractive Browserify transforms, check them out if ractive-browserify doesn't tickle your fancy.

license

MIT