Commit Graph

21 Commits

Author SHA1 Message Date
Martin Raifer
a15f6ff338 also lint mjs files and config directory 2023-03-27 19:45:47 +02:00
Martin Raifer
45c746ef05 also make other CDNs and services configurable via env vars 2023-02-25 18:21:11 +01:00
Martin Raifer
050c164a60 make OSM API connection details configurable via env vars 2023-02-25 18:05:31 +01:00
Martin Raifer
574cba9ed9 fix variable name in previous commit 2023-02-25 12:19:27 +01:00
Martin Raifer
243c7fdba3 allow to specify presets cdn via env variable or dotenv file 2023-02-25 12:09:19 +01:00
Martin Raifer
c12f7e5479 migrate to esbuild v0.17; only write esbuild stats if needed
see https://github.com/evanw/esbuild/blob/main/CHANGELOG.md#upgrade-guide-for-existing-code
2023-01-18 20:35:26 +01:00
Martin Raifer
597207b0df move karma configuration file to config directory 2022-10-27 12:24:52 +02:00
Martin Raifer
c8a3cf154b make more cdn's and API urls/settings configurable
* CDNs for OCI, NSI, etc.
* OSM API (URL and oauth API settings)
* taginfo API
* nominatim API
2022-10-14 19:19:29 +02:00
Martin Raifer
18b50ccd6d synchronize fetching presets from cdn
by first fetching `package.json` and loading the exact version from that for further presets requests
2022-10-13 18:42:52 +02:00
Martin Raifer
63cdee211f drop unneeded config file, simplify naming of build commands
see https://github.com/openstreetmap/iD/issues/8811#issuecomment-1031379116
2022-02-07 13:16:17 +01:00
Martin Raifer
632e24137a drop legacy builds, unneeded polyfills, document drop of IE11 support 2022-02-03 13:07:28 +01:00
Milos Brzakovic (E-Search)
b926ac7e8d re-enable watch mode 2022-01-17 16:39:44 +01:00
Bryan Housel
5040be45e9 Sync up RapiD and iD esbuild config (#8776)
* Sync up RapiD and iD esbuild config scripts

* Remove uglify too

* Remove babel/preset-react

* Just have `npm run start` start a modern build, remove `quickstart`

* Better setup for modern/legacy build
- much simpler babel config
- separate entry points for modern and legacy (ie11/phantom)
- explicitly import 'core-js' and 'regenerator-runtime' instead of using deprecated 'babel/polyfill' plugin
- still need 'core-js-bundle' for the test/index.html, so Mocha/PhantomJS combo will work.

* Revert "Better setup for modern/legacy build"

This reverts commit 4ce17defa8a3c6f4b3a9168bcd672235bfc651be.

Co-authored-by: Milos Brzakovic (E-Search) <mbrzakovic@microsoft.com>
2022-01-17 14:18:27 +01:00
Milos Brzakovic (E-Search)
b15897cca7 switched to esbuild for build:dev
added watch mode
slightly changed the start command
2021-10-26 17:16:46 +02:00
Quincy Morgan
e15aeda221 Switch to core-js for polyfills 2020-10-13 16:02:26 -04:00
Quincy Morgan
55fa1a6dff Switch from buble to babel for ES5 transpilation (close #8065) 2020-10-08 10:25:58 -04:00
Quincy Morgan
8a40a5baab Update to marked 1.2.0 (close #8029) 2020-10-06 10:18:33 -04:00
Bryan Housel
b2b2689fb2 Use the ES6 export for martinez-polygon-clipping 2020-02-03 12:38:17 -05:00
Bryan Housel
3ce640f2cf Remove some unnecessary options that were default values 2020-01-22 15:55:58 -05:00
Bryan Housel
a7bbc8a9d8 Include rollup-plugin-progress to see what is making thing slow
(bundling big .json files)
2020-01-22 10:43:49 -05:00
Bryan Housel
509f949932 Make separate rollup config files for different builds 2020-01-22 10:25:32 -05:00