@jesscss/patch-css 2.0.0-alpha.8 → 2.0.0-alpha.9
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 +3 -4
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
the document head.**
|
|
5
5
|
|
|
6
6
|
`@jesscss/patch-css` is a small browser utility from the
|
|
7
|
-
[Jess](https://github.com/jesscss/jess) project
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
`localStorage`, so styling is in place before first paint.
|
|
7
|
+
[Jess](https://github.com/jesscss/jess) project. Loaded synchronously in the
|
|
8
|
+
`<head>` — without `async` or `defer` — it re-attaches any stylesheets that were
|
|
9
|
+
previously cached in `localStorage`, so styling is in place before first paint.
|
|
11
10
|
|
|
12
11
|
It exposes a single function, `updateSheet(text, id)`, which inserts (or updates)
|
|
13
12
|
a `<style>` element for the given id and writes the current stylesheet cache back
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jesscss/patch-css",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.9",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"ci": "pnpm build && pnpm test",
|
|
28
|
+
"test": "echo 'patch-css has no active test suite (see test:tofix)'",
|
|
28
29
|
"dist": "rollup -c",
|
|
29
30
|
"build": "pnpm clean && pnpm compile",
|
|
30
31
|
"clean": "shx rm -rf ./dist ./lib tsconfig.tsbuildinfo",
|