The current build workflow depends on cross workspace dependency by installing angular-cli as a Bazel repository. This is not ideal because it introduces separate node_module directories other than the one installed by Angular through the yarn_install rule (ngdeps). This commit removes angular-cli from the Bazel workspace and installs rollup and @angular-devkit/build-optimizer locally. PR Close #28215
		
			
				
	
	
		
			13 lines
		
	
	
		
			196 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			196 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import nodeResolve from 'rollup-plugin-node-resolve';
 | 
						|
 | 
						|
export default {
 | 
						|
  input: 'dist/src/main.js',
 | 
						|
  output: {
 | 
						|
    sourceMap: true,
 | 
						|
  },
 | 
						|
  treeshake: true,
 | 
						|
  plugins: [
 | 
						|
    nodeResolve()
 | 
						|
  ]
 | 
						|
};
 |