浏览代码

Removes ts-loader experimentalWatchApi flag

Hoping to reduce strange issues with watch
main
Eric Amodio 5 年前
父节点
当前提交
dd1803933c
共有 1 个文件被更改,包括 4 次插入8 次删除
  1. +4
    -8
      webpack.config.js

+ 4
- 8
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
}
}
},

正在加载...
取消
保存