mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
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.
18 lines
453 B
TypeScript
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"),
|
|
},
|
|
},
|
|
},
|
|
})
|