Files
PMTiles/app/vite.config.ts
Brandon Liu 731f03d325 New viewer [#49] (#549)
app: Rewrite of PMTiles viewer (pmtiles.io) [#49, #551, #555, #556]

* Rewrite the app using SolidJS / Tailwind.
* Make the map view mobile friendly.
* Add an archive inspector for viewing the low level structure of PMTiles.
* Add a tile inspector for viewing a single tile in isolation. 
* Support TileJSON.
* Support raster archives.
2025-04-22 11:05:19 +08:00

18 lines
453 B
TypeScript

import { resolve } from "node:path";
import { defineConfig } from 'vite'
import solid from 'vite-plugin-solid'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [solid(), tailwindcss()],
build: {
rollupOptions: {
input: {
map: resolve(__dirname, "index.html"),
archive: resolve(__dirname, "archive/index.html"),
tile: resolve(__dirname, "tile/index.html"),
},
},
},
})