mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 22:34:21 +08:00
This should result in significant bundle size reduction. For best results, build for production with `--vendor-chunk=false`. See https://medium.com/webpack/webpack-3-official-release-15fd2dd8f07b for details.
16 lines
328 B
TypeScript
16 lines
328 B
TypeScript
import * as webpack from 'webpack';
|
|
|
|
declare module 'webpack' {
|
|
export class NamedChunksPlugin {
|
|
constructor(nameResolver: (chunk: any) => string | null);
|
|
}
|
|
export class HashedModuleIdsPlugin {
|
|
constructor();
|
|
}
|
|
namespace optimize {
|
|
export class ModuleConcatenationPlugin {
|
|
constructor();
|
|
}
|
|
}
|
|
}
|