Skip to content

Commit 424f68c

Browse files
committed
Add small description to README
1 parent 3e4f801 commit 424f68c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

worker/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# css-to-js-sourcemap-worker
22

3+
The purpose of this package is to generate CSS with arbitrary classes that have sourcemaps to arbitrary lines in JS (at runtime). This may be useful for CSS-in-JS abstractions.
4+
5+
Because parsing and generating sourcemaps is expensive, this package provides a web worker implementation so it can be performed off the main thread.
6+
37
## Worker protocol
48

59
```js

0 commit comments

Comments
 (0)