Releases: basisjs/basisjs-tools-build
Releases · basisjs/basisjs-tools-build
1.3.0
- NEW: basic plugins support similar to dev-server (replacement for preprocess settings). See example basisjs-tools-babel-plugin by @wuzyk
preprocess
andextFileTypes
options aren't supported inbasis.config
anymore
- NEW: support for
srcset
attribute on<img>
and<source>
elements (for HTML and templates) - extract: better warn message construct when process arguments from
basis.dev.warn()
andbasis.dev.error()
- lint: fix output warnings with no file (wrongly omit before)
1.2.1
1.2.0
1.1.0
- build: new option
--silent
to prevent any output tostdout
- build: new value
none
for--target
option (prevents file writing to FS) - build: don't minimize
id
names when--css-optimize-names
is using, since unsafe as tools don't found everyid
usage case for now
1.0.2
1.0.1
1.0
Initial release as separate package
extract
- output
app
profile by default - doesn't create any file anymore
- to output extract log
--target log
should be used - remove
none
value for--target
- no more
AST
modifications on extract (basis.resource
,basis.require
etc.) - make
basis.js
config parse error as fatal - support for images in
<meta name="msapplication-*">
- fix: exception on html extract when
<link>
has nohref
attribute - make template isolate prefix reproducible (preparation for script and style freeze,
basis.js
support required) - take in account special comment (
/* basisjs-tools:disable-warnings */
) in css to avoid warnings for this file - improve warnings about missed files
- warn on broken links (fatal) in some missed hard cases (didn't check before):
- reference by namespace in template, i.e.
<b:include src="foo.bar"/>
- broken links in markup
l10n
tokens (warn doesn't add to flow)
- reference by namespace in template, i.e.
- drop support for
basis.l10n
v1 (basis.js
prior1.0
) - add some checks for duplicate parameter/property names in strint mode
- add some ES6 globals to dict
build
- return promise
- add support to work as child process
- add parallel run support
- add presets support
- basic
--single-file
implementation - fix
--css-inline-image
option - remove
zip
target - make command multi-run ready
- support for images in
<meta name="msapplication-*">
- prevent accident original files rewrite
- compress implicit template names for
l10n
markup tokens (reduce build size) - don't set
type="text/javascript"
for<script>
in resulting html
lint
- return promise
- add support to work as child process
- add parallel run support
- add presets support
- make possible set default reporter (
console
) via option - implement
junit
reporter
Misc
- new command
find
that resolve filename bybasis.js
file reference - trailing slash is not adding to
--base
and--output
values --output
option available only forbuild
command- new option
--theme
that specify what themes should used for result
(all themes by default), for now it's just ignore warnings for not in
list themes - remove options:
--js-build-mode
--(css-|js-)no-single-file
--css-cut-unused
--tmpl-pregenerate
--js-info
- use
basisjs-tools-ast
andbasisjs-tools-config
as dependencies - strip code for
basis.js
prior1.0
and related refactoring - set min
node.js
version to0.12
- many other bug fixes, improvements and refactoring