Skip to content

Releases: micantoine/svelte-preprocess-cssmodules

v2.1.1

27 Oct 03:23
Compare
Choose a tag to compare
  • Update Readme

v2.1.0

20 Oct 02:48
46c1c60
Compare
Choose a tag to compare

Features

  • SvelteKit support
  • useAsDefaultScoping option
  • parseExternalStylesheet option

Breaking changes

  • Rename option allowedAttributes to includeAttributes
  • External cssModules stylesheets are not being processed automatically.

v2.1.0-rc.2

07 Oct 14:05
Compare
Choose a tag to compare
v2.1.0-rc.2 Pre-release
Pre-release

Features

  • Add ESM distribution
  • Add option useAsDefaultScoping to enable cssModules globally without the need of the module attribute

Breaking changes

  • Rename option allowedAttributes to includeAttributes
  • Add option parseExternalStylesheet to manually enable the parsing of imported stylesheets (no more enabled by default)

v2.1.0-rc.1

06 Oct 02:47
Compare
Choose a tag to compare
v2.1.0-rc.1 Pre-release
Pre-release

Add ESM distribution

v2.0.2

26 May 02:59
Compare
Choose a tag to compare
  • Fix Readme
  • Update dependencies

V2.0.1

06 May 04:52
Compare
Choose a tag to compare

Fix shorthand directive parsing breaking regular directive

v2.0.0

02 May 12:45
Compare
Choose a tag to compare

Features

  • Drop of the prefixes $style. & $. issue #13
  • Introduction of three mode native, mixed, scoped (default being native following cssModules philosophy)
  • Requirement of the module attribute on the <style> tag to preprocess the component
  • Option to locally change the preprocessing mode per component by setting a value to the module attribute
  • Add setting option hashSeeder to customize the source of the hashing method
  • Add setting option allowedAttributes to parse other attributes than class
  • Add :local() selector
  • External stylesheets' imports following the convention .module.css
  • No more IDE unused CSS selector warning issue #5

v1.3.2

04 Jan 14:09
Compare
Choose a tag to compare

Fix attempting import from node_modules packages issue #10 - pull request #11

v1.3.1

22 Nov 08:12
Compare
Choose a tag to compare

Add support for old versions of node (8 & 10 tested)

v1.3.0

22 Nov 08:11
Compare
Choose a tag to compare

Feature

Apply CSS Modules from imported stylesheets

Fixes

global selector Regex is now working with a bracket being attached to the selector (missing space was throwing an error) .myclass{ }

Library development

Set up typescript, eslint and prettier