Releases: tivac/modular-css
v23.0.4
v23.0.3
v23.0.0
23.0.0 (2019-03-28)
Bug Fixes
Features
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
v22.2.0
v22.1.4
v22.1.0 - Rollup chunking fixed! 🎉
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
v21.0.0 - Metadata output & circular dependency support
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
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.