- support customized locals in pug builder
- fix bug: cached source file is not updated - it's mtime is not retrieved because getting desv mtime failure.
- fix bug: precompiled js isn't updated even if src file updated.
- fix bug:
srcbuild-pug
triggers a directory traverse which shouldn't happen. - add option
initScan
for toggling initial directory traverse.
- bundle should add both codesrc and src so the dependencies will be accurate
- use bundler class api for bundled file path if bundler is not provided in pugbuild
- auto set type when loading config if type is not defined
- upgrade @plotdb/block, @plotdb/css and @plotdb/rescope dependencies for bug fixing
- upgrade dependencies
@plotdb/block
,@plotdb/rescope
and@plotdb/csscope
- fix bug: bunlder filter should only work if bundler is provided and available
- separate ext/base init into
initAdapter
andinitVars
so we can update vars first - bundler ext:
- accept function as manager parameter in bundler.
relativePath
is now by default true- tweak error logging for bundling issue
- breaking change: in bundler, path of
configFile
should now be relative tobase
. - support block bundling with
bundle
filter - upgrade dependencies
- audit fix vulnerability about dependency
minimatch
- enable asset build directly in lsp
- remove logging when view rendering fails since it should be handled by express server
- make error of view rendering fails a lderror with id 1033
- fix bug: bunlder is not added into adapter list in lsp, thus sometimes rebuild wont be triggered.
- fix bug: pack option in css/script should by default use minimized file.
- support
min
option to explicitly use unminimized file with pack option
- fix bug: ext/bundle fails if
relative-path
is false
- fix bug: precompiled pug js should still be run with custom option and api
- support auto packing with limitation.
- fix bug: multiple subtree features doesn't work, because we didn't add all adapters into watcher
- support building of multiple subtree
- support pug generation from outside of src dir
- disable pug
compileDebug
option by default - rebuild demo dir
- in watcher log, show correct watched directory instead of
src
- set
_root
with default value["."]
if optionroot
is omitted. - force
intlbase
to return absolute path
- support customizable watching directory.
- support asset build ( static file copying )
- support
noView
mode in pugbuild
- support language modifier in
intlbase
API
- trap bundle file parsing error and log, instead of crash directly
- fix bug: pug view engine doesn't support
filters
option
- support custom filter in ext/pug
- bug fix: pug build fails when pug file is empty
- upgrade @loadingio/debounce.js
- tweak dependency range syntax
- audit and fix cached-path-relative vulnerability
- bug fix: crash when iterating to a symlink pointing to a non-existed file.
- use
@plotdb/colors
to replacecolors
- upgrade marked for vulnerability fixing
- support legacy syntax in libLoader for script loading
- fix bug:
libLoader.root
doesn't work properly
- support relative path in bundle.json
- add test case for bundler
- use local script for testing
- bug fix:
defer
in libLoader should be by default true. - bug fix: stylus extension doesn't provide correct path for dependencies.
- bug fix: the
script
andcss
mixin supports should be done bypostParse
plugin instead of code modification.
- directly support
script
andcss
mixin in pug compiling.
- bug fix: bundle not rebuild when bundle config file updated
- bug fix: bundler exception not caught
- totally remove
compress
option to prevent unwanted side effect of code removal
- dont compress unused in pug lsc filter for our potential use of custom script block design in @plotdb/block
- remove log
- pass
ignored
to adapter to bypass unnecessary files to save time - by default minimize javascript and css in pug filter.
- set
doctype
tohtml
also inpug-cli
to preventt="t"
generation.
- set
doctype
tohtml
to preventt="t"
generation.
- add
srcbuild-pug
command for building pug with extapi - fix yaml loading issue by using
load
instead ofsafe-load
.
- fix module resolving path bug
- resolve module path from basedir in ext/pug.
- bump stylus version to 0.55.0 for removing deprecated dependencies
- fix bug: lsc builder doesn't build unless glslify is enabled
- support
json
API for reading json file in pug
- fix bug: glslify transformed by browserify should have basedir from src file dir.
- upgrade
path-parse
to fix vulnerability - support glslify transfomration by option
use-glslify
- add
i18n.intlbase
andi18n.langauge
pug api and deprecateintlbase
pug api.
- fix bug: incorrect parameter passing in view/pug to ext/pug
- add bundling sample code
- fix bundling file path shown in log
- fix bug:
desdir
andbase
not passed to pug in pug view constructor
- fix bug: basedir should be opt.basedir
- support pug view engine for express
- fix bug: trying to get mtime of a non-existed file.
- support options for files to ignore. by default, ignore
.git
folders.
- simplify log
- trap exception during
log-dependencies
and prevent from further building. - keep old dependency if
log-dependencies
fails.
- support bundling
- fix bug in ext/pug: basedir doesn't exist when initing, causing problem when getting dependencies. use path.resolve(srcdir) instead.
- fix typo
- fix bug: let pug use correct filename and basedir parameter. resolve pug files correctly