mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
ol-pmtiles 2.0.1 (#530)
* fix IIFE build by specifying platform=browser to esbuild
This commit is contained in:
@@ -29,6 +29,9 @@ export default [
|
||||
}),
|
||||
defineConfig({
|
||||
...baseOptions,
|
||||
esbuildOptions: (options) => {
|
||||
options.platform = "browser";
|
||||
},
|
||||
outDir: "dist",
|
||||
format: "iife",
|
||||
globalName: "olpmtiles",
|
||||
|
||||
Reference in New Issue
Block a user