aMarCruz / rollup-plugin-pug

Rollup plugin that transforms pug templates in es6 modules.
MIT License
27 stars 11 forks source link

Generate an HTML file from result #12

Closed lewispham closed 6 years ago

lewispham commented 6 years ago

rollup-plugin-postcss has an option for extracting the result into a CSS file by specifying extract: true.

Does rollup-plugin-pug has a similar option like the above? Because it'll be super helpful for bundling html files.

aMarCruz commented 6 years ago

...mmm no @lewispham, sorry. Currently, it is a wrapper for the corresponding functions in the Pug API. The only special processing is for import directives, content manipulation is beyond the scope of this plugin.

In any case, PRs are welcome. Closing this issue now.