changelogs.md


amarcruz/rollup-plugin-pug

Repository  -  API  -  Source

0.1.6

June 21, 2017
  • Fixes package installation.
  • Updated devDependencies.

0.1.5

June 20, 2017
  • A custom runtime can be set through the pugRuntime option.
  • pugRuntime: false avoids importation of the pug-runtime.
  • The pug option inlineRuntimeFunctions is honored and the runtime is not imported.

0.1.4

May 18, 2017
  • Pug render is used instead compile receiving locals and all the plugin options as parameter, so _pug_options is not used anymore (thanks to @StreetStrider).
  • Support for ES6 import statements in one-line unbuffered code (starting with dash).

0.1.3

March 11, 2017
  • For static compilation, all the compiler options is passed through the _pug_options value to the template.
  • Using the lastest Pug version.
  • Updated devDependencies.

0.1.2

November 2, 2016
  • Minor fix to compileDebug forced to true on source map generation.

0.1.1

November 2, 2016
  • sourceMap is enabled without the compileDebug, regression of this option to false.
  • Updated gen-pug-source-map dev dependency to v0.1.1 almost ready for production.

0.1.0

October 31, 2016
  • Experimental support for source maps.

0.1.0

October 29, 2016

Complete rewrite, WIP

  • Now the plugin imports an internal version of the pug-runtime if is necessary, so you don't have to worry about this anymore.
  • The basedir option default to the absolute path of your rollup entry file.
  • The new property locals is a plain JavaScript object with values passed to the compiler for static compilation.
  • The new property staticPattern is a regex that matches filenames to compile and evaluate at build time to produce plain HTML, so the loading of templates is faster, useful in SSR.
  • Files from the extend and include directives are imported by the template, so changes in this dependencies must update the template in watch mode - See issue #3.

0.0.2

August 28, 2016
  • Initial release