Ensure proper compatibility for our JavaScript in Djblets.
Review Request #12801 — Created Jan. 23, 2023 and submitted
package.jsonhas been updated to specify the minimum Node.js version
we require (>= 14.0.0), to avoid any confusing errors when building
static media.The
.babelrcfile has been renamed tobabel.config.json. This is the
modern filename, and some tools expect it, skipping.babelrc. We also
have the option to make thisbabel.config.jsin the future, letting us
make the file more dynamic, if needed.We also now define the
dedentanddjango-gettextplugins, which
weren't previously enabled for Rollup-based JavaScript bundles. These
dependencies are provided by@beanbag/frontend-buildkit.
Removed
node_modulesand re-installed. Tested Review Board with the
new Djblets static media setup, and tested building a Djblets package.
Both worked.
| Summary | ID |
|---|---|
| 945b554b1893d341ffdaa60ca63b8b12946bda87 |