From 09deaa73900960e9f4d45a1ddd8a2bc028a889fb Mon Sep 17 00:00:00 2001 From: Balasa Sorin Stefan Date: Mon, 22 Feb 2021 10:21:09 +0200 Subject: [PATCH] Fixed documentation for Webpack output.library and libraryTarget: 'window' When building a library and use a multi entry config, only the last item in the entry array will be exposed. The example that was provided by the plugin would expose the webpack plugin serve client in the end file and it breaks the app --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 92ab05a..6f8b53e 100644 --- a/README.md +++ b/README.md @@ -65,8 +65,8 @@ const options = { ... }; module.exports = { // an example entry definition entry: [ - 'app.js', 'webpack-plugin-serve/client' // ← important: this is required, where the magic happens in the browser + 'app.js' ] ... plugins: [