mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-30 10:22:40 +08:00
25 lines
601 B
TypeScript
25 lines
601 B
TypeScript
import webpack = require('webpack');
|
|
import DuplicatePackageCheckerWebpackPlugin = require('duplicate-package-checker-webpack-plugin');
|
|
|
|
const a: webpack.Configuration = {
|
|
entry: 'test.js',
|
|
plugins: [
|
|
new DuplicatePackageCheckerWebpackPlugin()
|
|
]
|
|
};
|
|
const b: webpack.Configuration = {
|
|
entry: 'test.js',
|
|
plugins: [
|
|
new DuplicatePackageCheckerWebpackPlugin({})
|
|
]
|
|
};
|
|
const c: webpack.Configuration = {
|
|
entry: 'test.js',
|
|
plugins: [
|
|
new DuplicatePackageCheckerWebpackPlugin({
|
|
verbose: true,
|
|
emitError: true
|
|
})
|
|
]
|
|
};
|