e-jigsaw / gulp-riot

gulp plugin for riot
105 stars 10 forks source link

modular options docs update #124

Open SassNinja opened 6 years ago

SassNinja commented 6 years ago

It took me a while to realize the option modular: true is not part of the riot compiler but a custom option of this gulp plugin.

Within the plugin additional code gets prepended as

if (options.modular) {
      compiledCode = ...
}

Imo it should be more clear that the modular option isn't an option of the actual riot compiler. The docs shouldn't link to the riot docs when describing it or rather point out it's a custom option.

Would you mind to update the docs?

e-jigsaw commented 6 years ago

yes, pull requests welcome!