@maticoapp/deck.gl-pmtiles
Version:
This repo provides a typed Deck.gl layer and loader for PMTiles data. PMTiles data provides a serverless and compact way to store tile geospatial data. Combined with Deck.gl's rendering, this provides a flexible and powerful way to cheaply manage geospati
24 lines (23 loc) • 429 B
JavaScript
import dts from 'rollup-plugin-dts'
import esbuild from 'rollup-plugin-esbuild'
export default [
{
input: `src/index.ts`,
plugins: [esbuild()],
output: [
{
file: `dist/index.js`,
format: 'cjs',
sourcemap: true,
},
]
},
{
input: `src/index.ts`,
plugins: [dts()],
output: {
file: `dist/index.d.ts`,
format: 'es',
},
}
]