ffbt
Version:
Build a Typescript app without pain
22 lines (21 loc) • 687 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const ForkTsCheckerNotifierWebpackPlugin = require("fork-ts-checker-notifier-webpack-plugin");
const WebpackNotifierPlugin = require("webpack-notifier");
const layer = () => {
return {
plugins: [
new ForkTsCheckerNotifierWebpackPlugin({
title: "FFBT Type Checker",
skipFirstNotification: true,
skipSuccessful: true,
}),
new WebpackNotifierPlugin({
title: "FFBT",
alwaysNotify: true,
excludeWarnings: true,
}),
]
};
};
module.exports = layer;