Skip to content

Releases: tivac/modular-css

v23.0.4

03 Apr 06:35
Compare
Choose a tag to compare

23.0.4 (2019-04-03)

Bug Fixes

  • rollup-rewriter: include static dependencies (#577) (ca499c6)

v23.0.3

29 Mar 23:33
Compare
Choose a tag to compare

23.0.3 (2019-03-29)

Bug Fixes

  • don't mutate arrays while iterating (0f63ea2)

v23.0.0

28 Mar 16:39
Compare
Choose a tag to compare

23.0.0 (2019-03-28)

Bug Fixes

Features

  • replacing missing css.fooga with stringified version (#574) (2084b62)

BREAKING CHANGES

  • Previously missing {css.fooga} references would be left as-is, now they're wrapped in quotes to prevent them from causing JS errors. If you want missing classes to break things you should enable strict mode. Also no longer injecting a <script> block just to import css if there isn't already a <script> block defined in the module.

v22.3.0

20 Mar 17:08
Compare
Choose a tag to compare

22.3.0 (2019-03-20)

Features

  • support supressing empty CSS files in rollup plugin (#569) (f9240a3)

v22.2.0

07 Mar 08:03
Compare
Choose a tag to compare

22.2.0 (2019-03-07)

Features

  • Include Style String in Webpack Loader Output (#567) (6d883ac)

v22.1.4

16 Feb 08:07
Compare
Choose a tag to compare

22.1.4 (2019-02-16)

Bug Fixes

  • add homepage & repo directory fields (f9c1606)

v22.1.0 - Rollup chunking fixed! 🎉

06 Feb 06:42
Compare
Choose a tag to compare

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

v21.1.1 - Polishing up the rollup-rewriter

22 Jan 06:14
Compare
Choose a tag to compare

Mostly fixing some bugs uncovered when using it against a bigger project. Seems fully-functional now and already dropping load times and overall payload sizes for us!

Changelog

21.1.1 (2019-01-21)

Bug Fixes

21.1.0 (2019-01-21)

Features

21.0.1 (2019-01-18)

Bug Fixes

v21.0.0 - Metadata output & circular dependency support

18 Jan 17:45
Compare
Choose a tag to compare

Another release focused on @modular-css/rollup because... well it's the one I use the most 😅

Changelog

21.0.0 (2019-01-18)

Bug Fixes

Features

BREAKING CHANGES

  • The previous release would stick all unreferenced CSS at the beginning of the first bundle. This was a mistake, and has been rectified.

v20 - Rollup chunk naming & source map fixes

15 Jan 21:20
Compare
Choose a tag to compare

Another major release to fix some rollup bugs. I swear I'll get that right someday.

Changelog

20.0.0 (2019-01-15)

Bug Fixes

BREAKING CHANGES

  • Source maps are written directly to the filesystem now, instead of going through rollup's asset pipeline. This is due to some limitations inherent in how the asset pipeline works and may be changed back once those can be resolved.