mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
- add Compiler, Watching classes - add Plugin abstract class - change plugins to extend Plugin BREAKING CHANGE: - change Plugin apply param type from Webpack to Compiler - remove plugin static types - remove Webpack and Optimize interfaces
10 lines
338 B
TypeScript
10 lines
338 B
TypeScript
import * as webpack from 'webpack';
|
|
import * as webpackStream from 'webpack-stream';
|
|
|
|
let output: NodeJS.ReadWriteStream;
|
|
|
|
output = webpackStream();
|
|
output = webpackStream({ entry: '' });
|
|
output = webpackStream({ entry: '' }, webpack);
|
|
output = webpackStream({ entry: '' }, webpack, (error: Error, stats: webpack.compiler.Stats) => { });
|