pug-plugin-no-yield

1.0.1 • Public • Published

pug-plugin-no-yield

This pug-plugin converts "yield" into a tag instead of a keyword.

So, you can use "yield" for riot keywoad.

Installation

npm install --save-dev pug-plugin-no-yield

Usage

In your webpack.config.js file:

module.exports = {
  // your config settings ...
  module: [
    // your modules...
    loaders: [{
      include: /\.tag.pug/,
      // pass options to pug as a query
      loader: 'riotjs!pug-html?pretty&exports=false&plugins[]=pug-plugin-no-yield'
    }]
  ]
};

See webpack documentation.

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Readme

Keywords

Package Sidebar

Install

npm i pug-plugin-no-yield

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • uk-taniyama