From bb17284818258e805204b90abb8068bc30b89147 Mon Sep 17 00:00:00 2001 From: Jan Nicklas Date: Mon, 15 Oct 2018 09:24:01 +0200 Subject: [PATCH] docs: Fix event usage example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e8a602b..1d10071f 100644 --- a/README.md +++ b/README.md @@ -495,7 +495,8 @@ Example implementation: [webpack-subresource-integrity](https://www.npmjs.com/pa ```js // If your plugin is direct dependent to the html webpack plugin: const HtmlWebpackPlugin = require('html-webpack-plugin'); -// If your plugins is using html-webpack-plugin you can use https://github.com/tallesl/node-safe-require +// If your plugin is using html-webpack-plugin as an optional dependency +// you can use https://github.com/tallesl/node-safe-require instead: const HtmlWebpackPlugin = require('safe-require')('html-webpack-plugin'); class MyPlugin {