Releases: hostnet/asset-lib
fixed sf 4.2 compatibility
fixed sf 4.2 compatibility
Small font-rewrite fix
Small font-rewrite fix where support has been added for two additional file formats (.eot
and .svg
). Additionally there is now support for adding query and hashes to font urls in the css files. I.e., url("some-font.svg?1234#iefix")
.
Allow implicit type inclusion
Including the file ./some/dir/my-file.js
can now be included as ./some/dir/my-file
.
calling require
will now always try to resolve 4 different modules in the following order (call order is important here):
- no suffix (exact match)
*.js
(implicit .js file, default node/common-js behavior)*/index
(implicit index - can be a file or a directory)*/index.js
(implicit index.js, default node/common-js behavior)
(where *
is the argument passed to require()
)
Calling directories with a package.json
file that defines a main
entry point should already be taken care of in a previous step.
Allow export * and resolving directories with index.
Less 3.8.0
Less 3.8.0
Fixed bug in module resolution
Fixed bug in module resolution
Fixed bug where wrong name was given
Fixed bug where wrong name was given
Fixed bug in font rewrite with nested paths
Fixed bug in font rewrite with nested paths
Fixed type mismatch in uglify JS code
Fixed type mismatch in uglify JS code
Added Font rewrite plugin
Added Font rewrite plugin for CSS fonts. The fonts are now re-written and emitted as additional files.