- upgrade i18next-fs-backend to fix vulnerability
- upgrade i18next-fs-backend and other dependencies to fix vulnerability
- use
buildIntloption to toggleintlfolder generation.
- upgrade dependencies for vulnerability fixing
- 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-pugtriggers a directory traverse which shouldn't happen. - add option
initScanfor 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/rescopeand@plotdb/csscope
- fix bug: bunlder filter should only work if bundler is provided and available
- separate ext/base init into
initAdapterandinitVarsso we can update vars first - bundler ext:
- accept function as manager parameter in bundler.
relativePathis now by default true- tweak error logging for bundling issue
- breaking change: in bundler, path of
configFileshould now be relative tobase. - support block bundling with
bundlefilter - 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
minoption to explicitly use unminimized file with pack option
- fix bug: ext/bundle fails if
relative-pathis 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
compileDebugoption by default - rebuild demo dir
- in watcher log, show correct watched directory instead of
src - set
_rootwith default value["."]if optionrootis omitted. - force
intlbaseto return absolute path
- support customizable watching directory.
- support asset build ( static file copying )
- support
noViewmode in pugbuild
- support language modifier in
intlbaseAPI
- trap bundle file parsing error and log, instead of crash directly
- fix bug: pug view engine doesn't support
filtersoption
- 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/colorsto replacecolors
- upgrade marked for vulnerability fixing
- support legacy syntax in libLoader for script loading
- fix bug:
libLoader.rootdoesn't work properly
- support relative path in bundle.json
- add test case for bundler
- use local script for testing
- bug fix:
deferin libLoader should be by default true. - bug fix: stylus extension doesn't provide correct path for dependencies.
- bug fix: the
scriptandcssmixin supports should be done bypostParseplugin instead of code modification.
- directly support
scriptandcssmixin in pug compiling.
- bug fix: bundle not rebuild when bundle config file updated
- bug fix: bundler exception not caught
- totally remove
compressoption 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
ignoredto adapter to bypass unnecessary files to save time - by default minimize javascript and css in pug filter.
- set
doctypetohtmlalso inpug-clito preventt="t"generation.
- set
doctypetohtmlto preventt="t"generation.
- add
srcbuild-pugcommand for building pug with extapi - fix yaml loading issue by using
loadinstead 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
jsonAPI for reading json file in pug
- fix bug: glslify transformed by browserify should have basedir from src file dir.
- upgrade
path-parseto fix vulnerability - support glslify transfomration by option
use-glslify
- add
i18n.intlbaseandi18n.langaugepug api and deprecateintlbasepug 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:
desdirandbasenot 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
.gitfolders.
- simplify log
- trap exception during
log-dependenciesand prevent from further building. - keep old dependency if
log-dependenciesfails.
- 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