Skip to content

collingreen/wintersmith-riot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wintersmith-riot

riot js plugin for wintersmith

Installation:

npm install wintersmith-riot -g Add wintersmith-riot to your package.json file under dependencies:

  "dependencies": {
    ...
    "wintersmith-riot": "*"
  }

then add wintersmith-riot to your plugins in the wintersmith config

Configuration

By default, the wintersmith-riot plugin matches any .tag file in the scripts folder. You can modify this by setting the fileGlob key in the riot section of your config.json.

Defaults:

  "riot": {
      "fileGlob": "**/*.*(tag)",
      "outExtension": ".js"
  }

Usage

Any .tag file in your contents folder (matching the fileGlob setting) will be run through the riot compiler and converted to a .js file.

TODO:

  • inject all the converted tag files and all stores as html script tags <script src='file.js'></script>

About

Riot compiler plugin for wintersmith

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published