Releases: aMarCruz/gen-pug-source-map
Releases · aMarCruz/gen-pug-source-map
v1.0.0
v0.1.2
- The returned object contains a raw source map in its
mapproperty, 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
Complete rewrite after the initial release, many fixes, almost ready for production
- The new property
basedirallows to define the root directory of the source files. - Source file names are relative to
basediror the current directory ifbasediris 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.