mimosa-ractive

1.1.0 • Public • Published

mimosa-ractive

Overview

This is a Ractive compiler for the Mimosa build tool. This module is for use with Mimosa 2.0+. This replicates the functionality of the Ractive compiler that was built into Mimosa before 2.0.

For more information regarding Mimosa, see http://mimosa.io

Usage

Add 'ractive' to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch or mimosa build.

Functionality

This module will compile Ractive files during mimosa watch and mimosa build.

This module utilizes all of the built-in template behavior that comes with Mimosa's basic template compiler. See the mimosa website for more information about how templates are treated or check out the various template configuration options.

Default Config

ractive:
  lib: undefined
  extensions: [ "rtv","rac" ]
  • lib: You may want to use this module but may not be ready to use the latest version of Ractive. Using the lib property you can provide a specific version of Ractive if the one being used by this module isn't to your liking. To provide a specific version, you must have it npm installed into your project and then provide it to lib. For instance: lib: require('ractive').
  • extensions: an array of strings, the extensions of your Ractive files.

Package Sidebar

Install

npm i mimosa-ractive

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • dbashford