mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
js 4.0.1 (#501)
fix iife build - tell esbuild to use browser platform for fflate dependency.
This commit is contained in:
@@ -29,6 +29,9 @@ export default [
|
||||
}),
|
||||
defineConfig({
|
||||
...baseOptions,
|
||||
esbuildOptions: (options) => {
|
||||
options.platform = "browser";
|
||||
},
|
||||
outDir: "dist",
|
||||
format: "iife",
|
||||
globalName: "pmtiles",
|
||||
|
||||
Reference in New Issue
Block a user