For local development, head to the src
folder and run a web server of your choice to check your changes locally.
# in /src folder
$ python -m SimpleHTTPServer
# head to localhost:8000
:warning: Once you're done with your changes, remember to run and commit the new build.
$ npm i # install the dependencies necessary to run the build
$ npm run build
The new build can be then found in the dist
directory.
For production deployment, we have a simple taskr build that:
Run the production build:
$ npm i # install the dependencies necessary to run the build
$ npm run build
svgo
, png: pngquant
, jpg: jpegoptim
)