diff --git a/webpack.config.js b/webpack.config.js index 507fbe1..1a5c730 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,6 +4,10 @@ module.exports = { target: 'webworker', resolve: { alias: { + // While Apollo Server doesn't use the 'fs' Node.js builtin itself, + // its dependency - graphql-upload - does leverage it. + // An intention is for Apollo Server 3.x to no longer directly rely on + // graphql-upload, so this may be re-visited when that release occurs. fs: path.resolve(__dirname, './null.js'), // The 'net' and 'tls' Node.js built-in usage within Apollo Server