mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-30 02:01:46 +00:00
Add webpack-fail-plugin v1.0.5 (#10369)
This commit is contained in:
committed by
Masahiro Wakame
parent
25b78b03bc
commit
f567f32c90
@@ -0,0 +1,9 @@
|
||||
///<reference path="webpack-fail-plugin.d.ts" />
|
||||
import * as Webpack from "webpack";
|
||||
import FailPlugin = require("webpack-fail-plugin");
|
||||
|
||||
const config: Webpack.Configuration = {
|
||||
plugins: [
|
||||
FailPlugin
|
||||
]
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// Type definitions for webpack-fail-plugin v1.0.5
|
||||
// Project: https://github.com/TiddoLangerak/webpack-fail-plugin
|
||||
// Definitions by: Simon Hartcher <https://github.com/deevus>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
///<reference path="./../webpack/webpack.d.ts" />
|
||||
|
||||
declare module "webpack-fail-plugin" {
|
||||
import {Plugin} from "webpack";
|
||||
|
||||
/**
|
||||
* Webpack plugin that will make the process return status code 1 when it finishes with errors in single-run mode.
|
||||
*/
|
||||
function WebpackFailPlugin(): Plugin;
|
||||
|
||||
export = WebpackFailPlugin;
|
||||
}
|
||||
Reference in New Issue
Block a user