mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
aws/cf depend on js/index instead of dist
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
declare const L: any;
|
declare const L: any;
|
||||||
|
declare const window: any;
|
||||||
|
declare const document: any;
|
||||||
|
|
||||||
import { PMTiles, Source, TileType } from "./index";
|
import { PMTiles, Source, TileType } from "./index";
|
||||||
|
|
||||||
export const leafletRasterLayer = (source: PMTiles, options: any) => {
|
export const leafletRasterLayer = (source: PMTiles, options: any) => {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import {
|
|||||||
Source,
|
Source,
|
||||||
Compression,
|
Compression,
|
||||||
TileType,
|
TileType,
|
||||||
} from "../../../js";
|
} from "../../../js/index";
|
||||||
|
|
||||||
import https from "https";
|
import https from "https";
|
||||||
import zlib from "zlib";
|
import zlib from "zlib";
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import {
|
|||||||
ResolvedValueCache,
|
ResolvedValueCache,
|
||||||
TileType,
|
TileType,
|
||||||
Compression,
|
Compression,
|
||||||
} from "../../../js";
|
} from "../../../js/index";
|
||||||
|
|
||||||
interface Env {
|
interface Env {
|
||||||
BUCKET: R2Bucket;
|
BUCKET: R2Bucket;
|
||||||
|
|||||||
Reference in New Issue
Block a user