@projectwallace/format-css 0.1.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,6 +19,11 @@ let old_css = "/* Your old CSS here */";
|
|
|
19
19
|
let new_css = format(old_css);
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
Need more examples?
|
|
23
|
+
|
|
24
|
+
- [StackBlitz example using CommonJS](https://stackblitz.com/edit/stackblitz-starters-phchci?file=index.js)
|
|
25
|
+
- [StackBlitz example using ES Modules](https://stackblitz.com/edit/stackblitz-starters-hrhsed?file=index.js)
|
|
26
|
+
|
|
22
27
|
## Formatting rules
|
|
23
28
|
|
|
24
29
|
1. Every **AtRule** starts on a new line
|