@riebeckite/plugin-text-fragment 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
@@ -252,12 +252,22 @@ function copyWithExecCommand(value) {
252
252
  function textFragmentPlugin(options = {}) {
253
253
  return definePlugin({
254
254
  name: "text-fragment",
255
- assets: [createStyleAsset("text-fragment")],
255
+ assets: [
256
+ createStyleAsset(
257
+ "text-fragment",
258
+ "@riebeckite/plugin-text-fragment/style.css"
259
+ )
260
+ ],
256
261
  clientEntries: [
257
- createClientEntry("text-fragment", "initTextFragmentShare", {
258
- ...DEFAULT_TEXT_FRAGMENT_LABELS,
259
- ...options.labels
260
- })
262
+ createClientEntry(
263
+ "text-fragment",
264
+ "@riebeckite/plugin-text-fragment/client",
265
+ "initTextFragmentShare",
266
+ {
267
+ ...DEFAULT_TEXT_FRAGMENT_LABELS,
268
+ ...options.labels
269
+ }
270
+ )
261
271
  ]
262
272
  });
263
273
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-text-fragment",
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
  "devDependencies": {
27
27
  "tsx": "^4.22.4"