Skip to content

Releases: elycruz/rollup-plugin-sass

Typescript Downgrade and Node 16 (CI/CD) Race Condition Fix

25 Nov 10:08
9b2fff6
Compare
Choose a tag to compare

In this release:

Fixes:

  • #89 - (CI/CD) Race condition, in Node 16, fixed. Code in plugin implementation (surrounding sass module custom importer) now enforces sync calls to resolve module ensuring the same behavior across current versions of node.

Improvements:

  • #90 - Downgraded typescript version for library to ensure that *.d.ts files that are output are compatible with older versions of typescripts (namely for projects that use typescript versions as far back as typescript version 3.5.3).

--End of notes

Happy coding!
@elycruz

Dependency updates and option defaults patch

25 Aug 01:23
Compare
Choose a tag to compare

Fixes

  • commit 12c7e33-837ad0aaaf - #81 - Changed 'rollup-pluginutils' back to '@rollup/pluginutils' - Ensures we don't break applications that were already using new, allowed, formats for 'include' and 'exclude' props (via @rollup/pluginutils, which allows 'RegExp', as well as 'string | string[]', for these props).
    • Updated plugin source to ensure we have defaults for 'include' and 'exclude' options, even when merged, incoming options contain 'undefined' values set directly, for these props - feature was previously removed, it is now re-added in this commit.

Repo to Typescript and Deps Remove

22 Aug 16:52
9261866
Compare
Choose a tag to compare

In this release:

  • babel*, pify, fs-extra, and @rollup/pluginutils dependencies removed - Less requirements to use the plugin, less surface area for hassle - mostly in terms of dependency tree version conflicts etc..
  • Updated sources and tests to use typescript - Makes code easier to understand and update.
  • Separated code units into their own units, functions etc., within plugin source - Makes code easier to follow/work with.
  • Fixed bug where default sass importer was partially async and sync all at once - Since file loading is dependent on the OS file contents don't always complete their loading process in the same order - Indices are now associated with importer calls and are used when storing file id/content objects, internally - Ensures file output concatenations, always, happen in the correct order.

Happy coding!
@elycruz