Skip to content

v22.1.0 - Rollup chunking fixed! 🎉

Compare
Choose a tag to compare
@tivac tivac released this 06 Feb 06:42

Rollup

After a long think and a couple days of tweaking I've got a graph collapsing algorithm that seems to produce stable, optimal results. I think the loops could be tightened up a bit but given how broken my previous version was it seems prudent to push this ASAP.

As part of this process the output names for CSS chunks were changed from the previous "vaguely attempting to follow the entry filename" approach that never worked right and failed mightily on [hash] templates to "use the last file in the CSS chain". It's a little less useful in some cases but it should always work and be significantly less surprising than the previous behavior.

Processor

This release also introduces a new api for Processor instances, .normalize(). Sometimes you just need to see a file path the way all the internal APIs will!

AND

AND

I finally fixed the long-standing bug where removed composes declarations would leave around extra trailing whitespace & a newline. That had been bothering me for ever so I was thrilled at how easy it was to fix.

.foo {
-    
    color: red;
}

Changelog

22.1.1 (2019-02-06)

Bug Fixes

  • force rollup output to use .css (#563) (8f4348e)
  • work around rollup-pluginutils globbing cwd (4c0bdd8)

22.1.0 (2019-02-06)

Bug Fixes

  • invalidate files when they're changed (cb34c08)
  • log file invalidations (0b1476e)
  • remove newlines after composes (#561) (23569dc)

Features