Skip to content

Compiles .jade to virtual-hyperscript and inlines it into your js files

License

Notifications You must be signed in to change notification settings

jbwyme/babel-plugin-virtual-jade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-plugin-virtual-jade

Compiles and inlines virtual .jade files

import template from './buttons.jade'

Install

npm i babel-plugin-virtual-jade --save-dev

Usage

Babel config

{
  "plugins": ["babel-plugin-virtual-jade"]
}

CLI

babel --plugins babel-plugin-virtual-jade src/ --out-dir build

Change log

1.3.0

  • Pass plugin options through to virtual-jade

1.0.0

  • Initial release

About

Compiles .jade to virtual-hyperscript and inlines it into your js files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published