webpack-build-notifier
Advanced tools
Comparing version 1.0.0 to 1.0.1
# Changelog | ||
#### 1.0.1 | ||
###### _April 16, 2019_ | ||
- Updated README to include TS usage example. | ||
#### 1.0.0 | ||
@@ -4,0 +9,0 @@ ###### _April 16, 2019_ |
{ | ||
"name": "webpack-build-notifier", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A Webpack plugin that generates OS notifications for build steps using node-notifier.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -118,2 +118,22 @@ # webpack-build-notifier | ||
```javascript | ||
// webpack.config.ts | ||
import * as webpack from 'webpack' | ||
import * as WebpackBuildNotifierPlugin from 'webpack-build-notifier'; | ||
const config: webpack.Configuration = { | ||
// ... snip ... | ||
plugins: [ | ||
new WebpackBuildNotifierPlugin({ | ||
title: "My Project Webpack Build", | ||
logo: path.resolve("./img/favicon.png"), | ||
suppressSuccess: true | ||
}) | ||
], | ||
// ... snip ... | ||
}; | ||
export default config; | ||
``` | ||
Future Improvements | ||
@@ -120,0 +140,0 @@ ------------------- |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115970
154