mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +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 window: any;
|
||||
declare const document: any;
|
||||
|
||||
import { PMTiles, Source, TileType } from "./index";
|
||||
|
||||
export const leafletRasterLayer = (source: PMTiles, options: any) => {
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
Source,
|
||||
Compression,
|
||||
TileType,
|
||||
} from "../../../js";
|
||||
} from "../../../js/index";
|
||||
|
||||
import https from "https";
|
||||
import zlib from "zlib";
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
ResolvedValueCache,
|
||||
TileType,
|
||||
Compression,
|
||||
} from "../../../js";
|
||||
} from "../../../js/index";
|
||||
|
||||
interface Env {
|
||||
BUCKET: R2Bucket;
|
||||
|
||||
Reference in New Issue
Block a user