* docs(toh-6-aot): add aot to toh-6 s s s s s * docs(toh-6-aot): add aot to toh-6 * docs(toh-6-aot): make aot e2e tests run in the same project Updates tooling for this purpose and also the prose.
		
			
				
	
	
		
			25 lines
		
	
	
		
			653 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			653 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// #docregion
 | 
						|
import rollup      from 'rollup'
 | 
						|
import nodeResolve from 'rollup-plugin-node-resolve'
 | 
						|
import commonjs    from 'rollup-plugin-commonjs';
 | 
						|
import uglify      from 'rollup-plugin-uglify'
 | 
						|
 | 
						|
// #docregion config
 | 
						|
export default {
 | 
						|
  entry: 'app/main.js',
 | 
						|
  dest: 'dist/build.js', // output a single application bundle
 | 
						|
  sourceMap: false,
 | 
						|
  format: 'iife',
 | 
						|
  plugins: [
 | 
						|
      nodeResolve({jsnext: true, module: true}),
 | 
						|
      // #docregion commonjs
 | 
						|
      commonjs({
 | 
						|
        include: 'node_modules/rxjs/**',
 | 
						|
      }),
 | 
						|
      // #enddocregion commonjs
 | 
						|
      // #docregion uglify
 | 
						|
      uglify()
 | 
						|
      // #enddocregion uglify
 | 
						|
  ]
 | 
						|
}
 | 
						|
// #enddocregion config
 |