vulcanize is an npm module used to combine resources. In order to make the Material Design downloads page sufficiently fast, we run vulcanize on the source files to combine them and reduce blocking load/parse time.
Vulcanization currently requires:
node --version)npm --version)vulcanize --version)npm info crisper)For instructions on installing node and npm, see here.
Once you've installed npm, you can get crisper and vulcanize via:
$ sudo npm install -g crisper vulcanize
To combine all the CSS/HTML/JS for the downloads page to make it production fast, you can run the commands:
$ chrome/browser/resources/md_downloads/vulcanize.py # from src/
This should overwrite the following files:
If you're locally working on the downloads page, you can simply load this URL to bypass the vulcanized version: chrome://downloads/dev.html