From 73646646fba4f1a8297c0cd2a69e72b115bd625b Mon Sep 17 00:00:00 2001
From: Eric Amodio <eamodio@gmail.com>
Date: Sun, 22 Nov 2020 14:52:15 -0500
Subject: [PATCH] Excludes clean of dist/webviews again

---
 webpack.config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webpack.config.js b/webpack.config.js
index f47a53d..b0e1d5f 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -94,7 +94,7 @@ function getExtensionConfig(mode, env) {
 	 * @type WebpackConfig['plugins'] | any
 	 */
 	const plugins = [
-		new CleanPlugin(),
+		new CleanPlugin({ cleanOnceBeforeBuildPatterns: ['!webviews/**'] }),
 		new ForkTsCheckerPlugin({
 			async: false,
 			eslint: { enabled: true, files: 'src/**/*.ts', options: { cache: true } },