@riebeckite/plugin-sidenotes 0.0.22 → 0.0.24

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.
Files changed (2) hide show
  1. package/dist/index.js +15 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -461,12 +461,22 @@ function sidenotes(options = {}) {
461
461
  options,
462
462
  validateOptions: validateSidenotesOptions,
463
463
  rehypePlugins: [() => rehypeSidenotes(resolved)],
464
- assets: [createStyleAsset(SIDENOTES_PLUGIN_NAME)],
464
+ assets: [
465
+ createStyleAsset(
466
+ SIDENOTES_PLUGIN_NAME,
467
+ "@riebeckite/plugin-sidenotes/style.css"
468
+ )
469
+ ],
465
470
  clientEntries: [
466
- createClientEntry(SIDENOTES_PLUGIN_NAME, "initSidenotes", {
467
- openLabel: resolved.openLabel,
468
- closeLabel: resolved.closeLabel
469
- })
471
+ createClientEntry(
472
+ SIDENOTES_PLUGIN_NAME,
473
+ "@riebeckite/plugin-sidenotes/client",
474
+ "initSidenotes",
475
+ {
476
+ openLabel: resolved.openLabel,
477
+ closeLabel: resolved.closeLabel
478
+ }
479
+ )
470
480
  ]
471
481
  });
472
482
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-sidenotes",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "./style.css": "./style.css"
22
22
  },
23
23
  "dependencies": {
24
- "@riebeckite/core": "0.0.22"
24
+ "@riebeckite/core": "0.0.24"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"