Upgraded to bazel 3.7.2 and rules_nodejs 2.3.2
Change-Id: If53686f2475c4f367909de577b4da95de8e16768
diff --git a/web/gui2/src/main/webapp/rollup.config.js b/web/gui2/src/main/webapp/rollup.config.js
index 6f6d372..45e83b22 100644
--- a/web/gui2/src/main/webapp/rollup.config.js
+++ b/web/gui2/src/main/webapp/rollup.config.js
@@ -1,11 +1,11 @@
-const node = require('rollup-plugin-node-resolve');
-const commonjs = require('rollup-plugin-commonjs');
+const {nodeResolve} = require('@rollup/plugin-node-resolve');
+const commonjs = require('@rollup/plugin-commonjs');
module.exports = {
plugins: [
- node({
+ nodeResolve({
mainFields: ['browser', 'es2015', 'module', 'jsnext:main', 'main'],
}),
commonjs(),
],
-};
+};
\ No newline at end of file