Skip to content

Releases: aMarCruz/gen-pug-source-map

v1.0.0

14 Oct 14:52

Choose a tag to compare

[1.0.0] - 2018-10-14

Changed

  • Using ES6
  • The minimum required version of node.js is 6.0

Removed

  • Remove the second parameter (the source code) from the main function.

Updated

  • Update test and devDependencies

v0.1.2

07 Nov 03:12

Choose a tag to compare

  • The returned object contains a raw source map in its map property, instead the JSON string of previous versions.
  • Now, the generator raises an exception if the input does not contains debug information.
  • First attempt to support the entry point of the template, information not provided by the pug compiler.

v0.1.1

02 Nov 12:23

Choose a tag to compare

Complete rewrite after the initial release, many fixes, almost ready for production

  • The new property basedir allows to define the root directory of the source files.
  • Source file names are relative to basedir or the current directory if basedir is not given.
  • Fix: reading source files multiple times, now source is extracted from the compiled code.
  • Fix: sometimes the line number is shifted by one.
  • Better code cleanup, removal of empty lines.
  • Basic but complete test.