Skip to content

Releases: aMarCruz/rollup-plugin-pug

v1.1.1

25 Mar 00:04
Compare
Choose a tag to compare

[1.1.1] - 2019-03-24

Changed

  • Update devDependencies.

Fixed

  • #14: fix (this.warn is not a function) - thanks to @leptonix
  • markdown-lint errors

v1.1.0

14 Oct 16:01
Compare
Choose a tag to compare

[1.1.0] - 2018-10-14

Mostly internal changes

Added

  • Add Promise, Object and Symbol to the predefined globals.

Changed

  • This version requires node.js 6 or later.
  • Deprecate the local option as the plugin passes all the options to static templates.
  • Hide the internal runtimeImport variable.
  • Revision of the transform method, add comments.
  • Avoid type coersion (allows Typescript error detection).

Removed

  • Unused assign function, now the plugin uses object spread.
  • Removed the ES6 version, seems rollup does not use it.

v1.0.0 - For Rollup 0.66 or later

19 Sep 06:37
Compare
Choose a tag to compare

[1.0.0] - 2018-09-18

Added

  • Typescript definitions
  • Watch the included files in static templates.
  • AppVeyor tests.

Changed

  • peerDependencies has rollup>=0.61 to allow dependency detection (see Rollup #2259)
  • Updated devDependencies
  • Now the development of this plugin uses rollup v0.66 and Typescript v3.0

Removed

  • Dependency on rollup-plugin-buble as Rollup does not depends on it.

v0.1.6

21 Jun 17:18
Compare
Choose a tag to compare

2017-06-21 v0.1.6

  • Fixes package installation of v0.1.5.
  • Updated devDependencies.

2017-06-20 v0.1.5 (REMOVED)

  • 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.

v0.1.4

25 May 20:40
Compare
Choose a tag to compare
  • 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).

v0.1.3 Latest Pug Version

12 Mar 03:34
Compare
Choose a tag to compare
  • For static compilation, all the compiler options is passed through the _pug_options value to the template.
  • Using the latest Pug version.
  • Updated devDependencies.

v0.1.2 source maps

02 Nov 14:48
Compare
Choose a tag to compare

Minor fix to compileDebug forced to true on source map generation.

v0.1.1 source maps

02 Nov 14:03
Compare
Choose a tag to compare
  • Support for sourceMap enabled without the compileDebug option, regression of this to false.
  • Updated gen-pug-source-map dev dependency to v0.1.1 almost ready for production.

v0.1.0

01 Nov 01:23
Compare
Choose a tag to compare
  • 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.
  • Experimental support for source maps, only for dynamic templates and if compileDebug is true.
  • Now compileDebug defaults to true to allow source map generation.
  • 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.

v0.0.2

28 Aug 22:39
Compare
Choose a tag to compare

Initial release.