@riebeckite/plugin-map 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 +14 -7
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -565,14 +565,21 @@ function map(options = {}) {
565
565
  extendHtmlPipeline: (pipeline) => {
566
566
  pipeline.use(rehypeMap, options);
567
567
  },
568
- assets: [createStyleAsset(MAP_PLUGIN_NAME)],
568
+ assets: [
569
+ createStyleAsset(MAP_PLUGIN_NAME, "@riebeckite/plugin-map/style.css")
570
+ ],
569
571
  clientEntries: [
570
- createClientEntry(MAP_PLUGIN_NAME, "initMap", {
571
- tileUrl: resolved.tileUrl,
572
- attribution: resolved.attribution,
573
- minZoom: resolved.minZoom,
574
- maxZoom: resolved.maxZoom
575
- })
572
+ createClientEntry(
573
+ MAP_PLUGIN_NAME,
574
+ "@riebeckite/plugin-map/client",
575
+ "initMap",
576
+ {
577
+ tileUrl: resolved.tileUrl,
578
+ attribution: resolved.attribution,
579
+ minZoom: resolved.minZoom,
580
+ maxZoom: resolved.maxZoom
581
+ }
582
+ )
576
583
  ]
577
584
  });
578
585
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-map",
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"