diff --git a/packages/gh-action/webpack.config.js b/packages/gh-action/webpack.config.js index 0c73e765e..58e73a9de 100644 --- a/packages/gh-action/webpack.config.js +++ b/packages/gh-action/webpack.config.js @@ -49,6 +49,8 @@ module.exports = (env) => { }), new ForkTsCheckerWebpackPlugin(), new CaseSensitivePathsPlugin(), + // we ignore encoding because of https://github.com/microsoft/accessibility-insights-action/pull/752#issuecomment-893026690 + new webpack.IgnorePlugin({ resourceRegExp: /^encoding$/, contextRegExp: /node_modules\\node-fetch\\lib$/ }), ], resolve: { extensions: ['.ts', '.js', '.json'],