mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
14 lines
414 B
JavaScript
14 lines
414 B
JavaScript
import nodeResolve from 'rollup-plugin-node-resolve';
|
|
import commonjs from 'rollup-plugin-commonjs';
|
|
|
|
// a real app should make a common bundle for libraries instead of bundling them
|
|
// in both the main module & the lazy module, but we don't care about size here
|
|
export default {
|
|
entry: 'dist/src/lazy.module.js',
|
|
sourceMap: true,
|
|
treeshake: true,
|
|
moduleName: 'lazy',
|
|
plugins: [
|
|
nodeResolve()
|
|
]
|
|
};
|