Releases: micantoine/svelte-preprocess-cssmodules
Releases · micantoine/svelte-preprocess-cssmodules
v2.1.1
- Update Readme
v2.1.0
Features
- SvelteKit support
useAsDefaultScoping
optionparseExternalStylesheet
option
Breaking changes
- Rename option
allowedAttributes
toincludeAttributes
- External cssModules stylesheets are not being processed automatically.
v2.1.0-rc.2
Features
- Add ESM distribution
- Add option
useAsDefaultScoping
to enable cssModules globally without the need of themodule
attribute
Breaking changes
- Rename option
allowedAttributes
toincludeAttributes
- Add option
parseExternalStylesheet
to manually enable the parsing of imported stylesheets (no more enabled by default)
v2.1.0-rc.1
Add ESM distribution
v2.0.2
- Fix Readme
- Update dependencies
V2.0.1
Fix shorthand directive parsing breaking regular directive
v2.0.0
Features
- Drop of the prefixes
$style.
&$.
issue #13 - Introduction of three mode
native
,mixed
,scoped
(default beingnative
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 thanclass
- Add
:local()
selector - External stylesheets' imports following the convention
.module.css
- No more IDE unused CSS selector warning issue #5
v1.3.2
v1.3.1
Add support for old versions of node (8 & 10 tested)
v1.3.0
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