Add babel instructions on CONTRIBUTING.md

This commit is contained in:
Santiago L 2022-05-11 18:37:37 +02:00
parent 776e38aa67
commit e7a455018c
1 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,15 @@
## Writing code ## Writing code
### Javascript and compatibility with "old" browsers
**Warning:** This project is using babel compiler... You need run an additional build step to make build js file
```bash
npm install
npm run babel
```
NOTE: If you prefer you can use yarn instead, it's compatible
NOTE2: This only affect to file `ereuse_devicehub/static/js/main_inventory.js`.
### Coding style ### Coding style
#### Python style #### Python style