You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Registered output transforms are used to process bundles as they are written to disk. As an example, an output transform can be used to minify a JavaScript or CSS bundle.
A breakpoint in Transformer.transform(inStream, lassoContext) shows that it not the case: the transformer is called for each CSS fragment separately.
bundlingEnabled is set to true, and a single CSS file is generated on disk.
I would like to perform whole stylesheet optimizations (as with cssnano-preset-advanced). Is it possible within lasso ?
The text was updated successfully, but these errors were encountered:
Piezoid
changed the title
Output transforms process fragments instead bundles
Output transforms process fragments instead of bundles
Nov 26, 2018
The readme says:
A breakpoint in
Transformer.transform(inStream, lassoContext)
shows that it not the case: the transformer is called for each CSS fragment separately.bundlingEnabled
is set to true, and a single CSS file is generated on disk.I would like to perform whole stylesheet optimizations (as with cssnano-preset-advanced). Is it possible within lasso ?
The text was updated successfully, but these errors were encountered: