From dd1803933c765274c79766f6d06b252c9d496236 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 10 Sep 2019 23:31:05 -0400 Subject: [PATCH] Removes ts-loader experimentalWatchApi flag Hoping to reduce strange issues with watch --- webpack.config.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 3bdce08..c0e73cd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -37,8 +37,7 @@ function getExtensionConfig(env) { new CleanPlugin({ cleanOnceBeforeBuildPatterns: ['**/*', '!**/webviews/**'] }), new ForkTsCheckerPlugin({ async: false, - eslint: true, - useTypescriptIncrementalApi: true + eslint: true }) ]; @@ -101,8 +100,7 @@ function getExtensionConfig(env) { use: { loader: 'ts-loader', options: { - transpileOnly: true, - experimentalWatchApi: true + transpileOnly: true } } } @@ -150,8 +148,7 @@ function getWebviewsConfig(env) { new ForkTsCheckerPlugin({ tsconfig: path.resolve(__dirname, 'tsconfig.webviews.json'), async: false, - eslint: true, - useTypescriptIncrementalApi: true + eslint: true }), new MiniCssExtractPlugin({ filename: '[name].css' @@ -257,8 +254,7 @@ function getWebviewsConfig(env) { loader: 'ts-loader', options: { configFile: 'tsconfig.webviews.json', - transpileOnly: true, - experimentalWatchApi: true + transpileOnly: true } } },