aws/cf depend on js/index instead of dist

This commit is contained in:
Brandon Liu
2022-11-18 22:15:41 +08:00
parent 4f0292ff91
commit 9fd1d39ab5
3 changed files with 5 additions and 2 deletions

View File

@@ -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) => {

View File

@@ -11,7 +11,7 @@ import {
Source,
Compression,
TileType,
} from "../../../js";
} from "../../../js/index";
import https from "https";
import zlib from "zlib";

View File

@@ -11,7 +11,7 @@ import {
ResolvedValueCache,
TileType,
Compression,
} from "../../../js";
} from "../../../js/index";
interface Env {
BUCKET: R2Bucket;