rollup-plugin-sass

Rollup .sass files.

MIT License

Downloads
72.3K
Stars
90
Committers
19

Bot releases are visible (Hide)

rollup-plugin-sass - v1.13.1 - Bug, and npm audit, fixes Latest Release

Published by elycruz 4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/elycruz/rollup-plugin-sass/compare/v1.13.0...v1.13.1

Enjoy!
-Maintainers

rollup-plugin-sass - v1.13.0

Published by elycruz 4 months ago

What's Changed

Full Changelog: https://github.com/elycruz/rollup-plugin-sass/compare/1.12.22...v1.13.0

Enjoy,
Maintainer

rollup-plugin-sass - Maintenance Release

Published by elycruz 6 months ago

What's Changed

Full Changelog: https://github.com/elycruz/rollup-plugin-sass/compare/1.12.21...1.12.22

Enjoy!

rollup-plugin-sass - 1.12.21

Published by elycruz about 1 year ago

What's Changed

Full Changelog: https://github.com/elycruz/rollup-plugin-sass/compare/1.12.20...1.12.21

rollup-plugin-sass - Maintenance Release

Published by elycruz over 1 year ago

What's Changed

Full Changelog: https://github.com/elycruz/rollup-plugin-sass/compare/1.12.19...1.12.20

rollup-plugin-sass - 1.12.19

Published by elycruz over 1 year ago

What's Changed

Full Changelog: https://github.com/elycruz/rollup-plugin-sass/compare/1.12.18...1.12.19

rollup-plugin-sass - Maintenance Release

Published by elycruz over 1 year ago

What's Changed

Maintenance updates:

  • Patched index.test, and scripts/*-downlevel-dts script, to use fs.rm method, if available (later versions of node v18, etc.), else use fs.rmdir one - The latter is deprecated in later versions of node, and will throw errors when removed (in later versions of node).
  • Annotated some @ts-ignores.
  • Added notes on dart-sass legacy API, and legacy importer functions.

Depedabot security updates:

Full Changelog: https://github.com/elycruz/rollup-plugin-sass/compare/1.12.17...1.12.18

Enjoy!

rollup-plugin-sass - 1.12.15

Published by elycruz about 2 years ago

Hi all,

In this release we provide one bug fix (to a recently unnoticed duplicate css bug), and a test suite where we test out, and show, how to extract sass variables to resulting *.js modules.

What's Changed

Full Changelog: https://github.com/elycruz/rollup-plugin-sass/compare/1.12.14...1.12.15

Thank you, and
Happy Coding!

  • rollup-plugin-sass admins
rollup-plugin-sass - Dependency Updates and Watch Feature

Published by elycruz about 2 years ago

In this Release

  • dev-deps - Upgraded packages reported to having vulnerabilities to their safe versions.
  • dev-deps - Updated 'ava' version to allow builds on certain versions (there was a "moderate" vulnerability in ava that was blocking our package from being built on *nix systems see #97 ).
  • dev-deps - Updated typescript version and added 'downlevel-dts' version of the project's '*.d.ts' files (the whole typescript backward compatibility setup is now in place).
  • plugin - Updated our plugin's custom 'sass file' importer to enforce file load order in the defined 'async' importer - the async importer can sometimes load files out of order, which could result in sass content being compiled in incorrect order (when using the plugin's output (as a function) feature) - This enforces the load order by chaining each legacy importer done call to a promise (which chained, and awaited for, on subsequent importer calls).
  • plugin - Merged in changes related to #96 "Add sass files to rollup watch list" - forces files to be added to rollup's watch list, when rollup is running in 'watch' mode.

Merged PRs

Thank you to our Contributers!

  • @xenobytezero
  • @elycruz

New Contributors

Full Changelog: https://github.com/differui/rollup-plugin-sass/compare/1.2.12...1.12.13

rollup-plugin-sass - Typescript Downgrade and Node 16 (CI/CD) Race Condition Fix

Published by elycruz almost 3 years ago

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

rollup-plugin-sass - Dependency updates and option defaults patch

Published by elycruz about 3 years ago

Fixes

  • commit 12c7e3309-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.
rollup-plugin-sass - Repo to Typescript and Deps Remove

Published by elycruz about 3 years ago

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