Vite + TypeScript PWA that mirrors the Android app's core features: - Pre-processed shelter data (build-time UTM33N→WGS84 conversion) - Leaflet map with shelter markers, user location, and offline tiles - Canvas compass arrow (ported from DirectionArrowView.kt) - IndexedDB shelter cache with 7-day staleness check - Service worker with CacheFirst tiles and precached app shell - i18n for en, nb, nn (ported from Android strings.xml) - iOS/Android compass handling with low-pass filter - Respects user map interaction (no auto-snap on pan/zoom) - Build revision cache-breaker for reliable SW updates Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2.1 KiB
Executable file
2.1 KiB
Executable file
@rollup/plugin-replace ChangeLog
v2.4.2
2021-03-26
Updates
- docs: document the
valuesoption (#814)
v2.4.1
2021-02-22
Bugfixes
- fix: add missing types for new
preventAssignmentoption (#813)
v2.4.0
2021-02-22
Features
- feat: prevent accidental replacement within assignment (#798)
Updates
- docs: clarify replacement. fixes #737 (#785)
v2.3.4
2020-10-27
Updates
- docs: describe process.env.NODE_ENV case (#589)
- chore: update dependencies (53e2b73)
- docs: linting update in readme (aef7dbc)
v2.3.3
2020-06-05
Updates
- docs: clarify options for allowed replacement values (#422)
v2.3.2
2020-04-19
Updates
- chore: add rollup 2 to peer range (3e0d775)
v2.3.1
2020-02-01
Updates
- chore: update dependencies (aca4a94)
2.3.0
2019-12-21
- feat(replace): allow plugin to operate as an output plugin (#55)
2.2.1
2019-11-06
- Move
typescripttodevDependencies
2.2.0
2019-04-10
- Add index.d.ts typings file (#31)
2.1.1
2019-03-18
2.1.0
2018-10-07
2.0.0
- Only match on word boundaries, unless delimiters are empty strings (#10)
1.2.1
1.2.0
- Allow replacement to be a function that takes a module ID (#1)
1.1.1
- Return a
name
1.1.0
- Generate sourcemaps by default
1.0.1
- Include correct files in package
1.0.0
- First release