This brings in a few minor fixes including a better way to patch require for bootstrap scripts Also remove install_source_map_support attribute from nodejs_binary targets This attribute will be removed from nodejs_binary in the future PR Close #34736
		
			
				
	
	
		
			21 lines
		
	
	
		
			531 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			531 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| package(default_visibility = ["//visibility:public"])
 | |
| 
 | |
| load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
 | |
| 
 | |
| exports_files([
 | |
|     "rollup.config.js",
 | |
|     "terser_config.json",
 | |
| ])
 | |
| 
 | |
| 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",
 | |
| )
 |