# Running this demo

This demo shows how to have webpack [tree shake](https://rollupjs.org/guide/en#tree-shaking) `@esri/rest-js` and only include methods that are actually being called in its output bundle.

1. Make sure you run `npm run bootstrap` in the root folder to setup the dependencies
1. cd into `demos/tree-shaking-webpack`
1. Run `npm run build:app`
1. Load `index.html` in a web browser.
