
This change uses node modules to build polygerrit-ui release artifact. Tests still use bower_components. Change-Id: I3457931b0ff8edcb41250d1aa3518b8ea18a964e
This directory contains bazel rules and CLI tools to preprocess HTML and JS files before bundling.
There are 2 different tools here:
- links-updater (and update_links rule) - updates link in HTML files. Receives list of input and output files as well as a redirect.json file with information about redirects.
- preprocessor (and prepare_for_bundling rule) - split each HTML files to a pair of one HTML
and one JS files. The output HTML doesn't contain
<script>
tags and JS file contains all scripts and imports from HTML file. For more details see source code.