mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Update preset README for new build instructions
This commit is contained in:
@@ -217,10 +217,16 @@ names when identifying the icon to be used for a given preset.
|
||||
|
||||
## Building
|
||||
|
||||
To build presets, all you need to do is run `make`.
|
||||
To build presets, all you need to do is run `npm run build`.
|
||||
|
||||
This command will take care of running the build script, which packages all presets
|
||||
into one file: `dist/presets.js`, which is included in the packaged iD.js file.
|
||||
The following files are autogenerated and will be replaced when rebuilding:
|
||||
|
||||
* `data/presets/categories.json`
|
||||
* `data/presets/fields.json`
|
||||
* `data/presets/presets.json`
|
||||
* `data/presets.yaml`
|
||||
* `data/taginfo.json`
|
||||
* `dist/locales/en.json`
|
||||
|
||||
|
||||
## Custom Presets
|
||||
|
||||
Reference in New Issue
Block a user