Open
Description
It would be beneficial to have a way to produce deployable MapStore client builds that include all production assets (configs, translations, themes) but also retain development features such as source maps for remote debugging in staging environments.
With recent changes proposed to mapstore-project
allowing the use of a MAPSTORE_DEV=true
environment flag, we can now support this hybrid scenario. See geosolutions-it/mapstore-project#27 in the mapstore-project repository for details on this.
Enhancement:
Add a compiledev
script to package.json
that builds using MAPSTORE_DEV=true
, enabling:
- Debuggable source maps
- Unminified output
- All production assets bundled as normal
Example use:
npm run compiledev
Metadata
Metadata
Assignees
Labels
No labels