Skip to content

Commit 50deb51

Browse files
authored
📚 added info for v0.5.0
1 parent f0cdd9e commit 50deb51

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,26 @@
22
> **load StyleSheets as JS-Objects**
33
44
[![Build Status](https://travis-ci.com/stackr23/cssobjects-loader.svg?branch=master)](https://travis-ci.com/stackr23/cssobjects-loader)
5-
[![Maintenance][maintenance-img]][maintenance-url]
65
[![npm version](https://badge.fury.io/js/cssobjects-loader.svg)](https://badge.fury.io/js/cssobjects-loader)
76
[![devDependencies Status](https://david-dm.org/doubleu23/cssobjects-loader/dev-status.svg)](https://david-dm.org/doubleu23/cssobjects-loader?type=dev)
8-
[![Known Vulnerabilities](https://snyk.io/test/github/doubleu23/cssobjects-loader/badge.svg)](https://snyk.io/test/github/doubleu23/cssobjects-loader)
7+
[![Known Vulnerabilities](https://snyk.io/test/github/doubleu23/cssobjects-loader/badge.svg)](https://snyk.io/test/github/doubleu23/cssobjects-loader)<br />
8+
[![Maintenance][maintenance-img]][maintenance-url]
9+
[![PRs Welcome][pr-welcome]](http://makeapullrequest.com)
910

1011
[maintenance-img]: https://img.shields.io/badge/Maintained%3F-yes-green.svg
1112
[maintenance-url]: https://GitHub.com/stackR23/cssobjects-loader/graphs/commit-activity
12-
13-
## WIP [![PRs Welcome][pr-welcome]](http://makeapullrequest.com)
14-
> after a long time without maintenance,
15-
> im __working on a stable v1 with webpack 4 compatibility__...
16-
> that process may take a few weeks, but you can help with PR's
17-
1813
[pr-welcome]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
1914

20-
### basic information
15+
## v0.5.0 released
16+
> __stable version with webpack 4 compatibility__
17+
18+
### what is it?
2119
* webpack loader
2220
* per [nativeCss](https://github.com/raphamorim/native-css)
2321
* transforms css-properties to camelCase
2422
* very handy for react style injections
2523

26-
### usage
24+
### how to use it?
2725
```npm install cssobjects-loader --save-dev```
2826

2927
__your.so__
@@ -59,7 +57,7 @@ console.log(style);
5957
// }
6058
```
6159

62-
__additional information__
60+
__what else to know?__
6361
> to __keep the style properties__ as they are, pass the query 'transform=false' to the loader
6462
```Javascript
6563
let style = require('cssobjects-loader?transform=false!stylus-loader!./your.so');
@@ -91,7 +89,8 @@ let style = require('cssobjects-loader!sass-loader!./your.sass');
9189
* loader related issues or PR's are welcome
9290
* __known issues__:
9391
* style's subclasses recognized only 1 lvl deep
94-
(others are defined as `{parentClass__subClass1__subClass2: {}}`)
92+
(others are defined as `{parentClass__subClass1__subClass2: {}}`)
93+
* native-css not found (issue #18)
9594

9695
### to be done
9796
* inject style's subclasses recursively

0 commit comments

Comments
 (0)