Simplify BUILD

Remove the copied rollup bits and just use polygerrit_plugin.  Update
instructions too.

Change-Id: I8db732a43e5e221962272505a7d0d4530fcd8ac9
diff --git a/BUILD b/BUILD
index 7d3467f..e20978c 100644
--- a/BUILD
+++ b/BUILD
@@ -1,26 +1,15 @@
-load("@npm//@bazel/rollup:index.bzl", "rollup_bundle")
-load("//tools/bzl:js.bzl", "bundle_assets", "polygerrit_plugin")
+load("//tools/bzl:js.bzl", "polygerrit_plugin")
 load("//tools/js:eslint.bzl", "eslint")
 
 polygerrit_plugin(
-    name = "zuul_results_summary",
-    app = "zuul-results-summary-bundle.js",
-    plugin_name = "zuul-results-summary",
+    name = "zuul-results-summary",
+    srcs = glob([
+         "zuul-results-summary/*.js"
+    ]),
+    app = "zuul-results-summary/zuul-results-summary.js",
 )
 
 
-rollup_bundle(
-    name = "zuul-results-summary-bundle",
-    srcs = glob(["zuul-results-summary/*.js"]),
-    entry_point = "zuul-results-summary/zuul-results-summary.js",
-    format = "iife",
-    rollup_bin = "//tools/node_tools:rollup-bin",
-    sourcemap = "hidden",
-    deps = [
-      "@tools_npm//rollup-plugin-node-resolve",
-    ],
-)
-
 # Define the eslinter for the plugin
 # The eslint macro creates 2 rules: lint_test and lint_bin
 eslint(
diff --git a/README.md b/README.md
index e9603d8..026fca8 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,6 @@
 
 1. Clone gerrit `git clone https://gerrit.googlesource.com/gerrit`
 1. Clone plugin to `plugins/zuul-results-summary` `cd plugins; git clone https://gerrit.googlesource.com/plugins/zuul-results-summary
-1. Run build `cd ..; bazel build plugins/zuul-results-summary:zuul_summary_status`
-1. Copy resulting plugin `bazel-bin/plugins/zuul-results-summary/zuul-results-summary-bundle.js` to Gerrit plugins directory
+1. Run build `cd ..; bazel build plugins/zuul-results-summary:zuul-results-summary`
+1. Copy resulting plugin `bazel-bin/plugins/zuul-results-summary/zuul-results-summary.js` to Gerrit plugins directory