19 lines
538 B
Python
19 lines
538 B
Python
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
|
||
|
|
||
|
exports_files(["rollup.config.js"])
|
||
|
|
||
|
nodejs_binary(
|
||
|
name = "rollup_with_build_optimizer",
|
||
|
data = [
|
||
|
"@npm//@angular-devkit/build-optimizer",
|
||
|
"@npm//rollup",
|
||
|
"@npm//rollup-plugin-commonjs",
|
||
|
"@npm//rollup-plugin-node-resolve",
|
||
|
"@npm//rollup-plugin-sourcemaps",
|
||
|
],
|
||
|
entry_point = "@npm//:node_modules/rollup/dist/bin/rollup",
|
||
|
install_source_map_support = False,
|
||
|
)
|