- Doc indenting for Github
parent
d142dbc745
commit
6d5c1cc2c3
37
README.md
37
README.md
|
@ -104,24 +104,25 @@ incorporating SVGEdit. You will need to have Node.js/npm installed.
|
||||||
references JavaScript rolled up into a single file), you can follow these
|
references JavaScript rolled up into a single file), you can follow these
|
||||||
steps after any config changes you make, so that your changes can also be
|
steps after any config changes you make, so that your changes can also be
|
||||||
automatically made available to both versions.
|
automatically made available to both versions.
|
||||||
1. JavaScript:
|
1. JavaScript:
|
||||||
1. Run `npm install` within the svgedit directory (`node_modules/svgedit`
|
1. Run `npm install` within the svgedit directory
|
||||||
if you installed via npm) and the root repository directory if you
|
(`node_modules/svgedit` if you installed via npm) and the root
|
||||||
cloned the Git repository instead. This will install the build tools
|
repository directory if you cloned the Git repository instead.
|
||||||
for SVG-edit.
|
This will install the build tools for SVG-edit.
|
||||||
1. Run `npm run build-config` within the svgedit directory mentioned
|
1. Run `npm run build-config` within the svgedit directory mentioned
|
||||||
in the step above.
|
in the step above.
|
||||||
1. This will rebuild `svgedit-config-iife.js` (applying Babel to allow
|
1. This will rebuild `svgedit-config-iife.js` (applying Babel to
|
||||||
it to work on older browsers and applying Rollup to build all
|
allow it to work on older browsers and applying Rollup to build
|
||||||
JavaScript into one file). The file will then contain non-ES6 module
|
all JavaScript into one file). The file will then contain
|
||||||
JavaScript that can work in older browsers. Note that it bundles all
|
non-ES6 module JavaScript that can work in older browsers.
|
||||||
of SVGEdit, so it is to be expected that this file will be much
|
Note that it bundles all of SVGEdit, so it is to be expected
|
||||||
larger in size than the original ES6 config file.
|
that this file will be much larger in size than the original
|
||||||
1. HTML:
|
ES6 config file.
|
||||||
1. If you wish to make changes to both HTML files, it is recommended that
|
1. HTML:
|
||||||
you work and test on `svg-editor-es.html` and then run
|
1. If you wish to make changes to both HTML files, it is recommended that
|
||||||
`npm run build-html` to have the changes properly copied to
|
you work and test on `svg-editor-es.html` and then run
|
||||||
`svg-editor.html`.
|
`npm run build-html` to have the changes properly copied to
|
||||||
|
`svg-editor.html`.
|
||||||
|
|
||||||
## Recent news
|
## Recent news
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue