Skip to content

samsel/kraken-devtools-jsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kraken-devtools-jsx

Build Status

jsx plugin for kraken-devtools

Compile React's jsx on-the-fly when building kraken based express applications. This kraken-devtools plugin, finds all the .jsx files in the given source directory and desugars them to simple Javascript to be used with React.

Usage

in kraken middleware config file

    "middleware": {
        "devtools": {
            "enabled": true,
            "priority": 35,
            "module": {
                "name": "kraken-devtools",
                "arguments": [
                    "path:./src_path",
                    "path:./destination_path",
                    {
                        "jsx": {
                            "module": "kraken-devtools-jsx",
                            "files": "destination_path_for_jsx/*.js"
                        }
                    }
                ]
            }
        }
    }

About

jsx plugin for kraken-devtools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published