Skip to content

mtscout6/mimosa-cjsx

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

mimosa-cjsx

Overview

This is a Coffeescript + React/JSX compiler for the Mimosa build tool. It will precompile your .cjsx files using coffee-react

Usage

Add 'cjsx' 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 your Coffeescript + React/JSX files.

Default Config

cjsx: {
  lib: undefined,
  extensions: ["cjsx"]
}
  • lib: You may want to use this module but may not be ready to use the latest version of the coffee-react. Using the lib property you can provide a specific version of coffee-react 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("coffee-react")
  • extensions: an array of strings, the extensions of your Coffeescript React/JSX files.

About

Mimosa plugin for cjsx

Resources

Stars

Watchers

Forks

Packages

No packages published