9 Commits

Author SHA1 Message Date
Rob Playford
367878c20f formatting only (npm run format) 2021-10-03 10:20:13 +01:00
Rob Playford
b7ae583908 bump apollo (3.3.0) and graphql (15.6.0) 2021-10-03 10:12:57 +01:00
Rob Playford
45a04a104a allow webpack 5 builds 2021-10-03 10:01:59 +01:00
Jesse Rosenberger
dbe2bca423 Add comment as to why 'fs' builtin module is depended on.
Hopefully making it easier to understand why this was here and when it can
be removed!
2021-03-03 09:15:58 +00:00
Jesse Rosenberger
c979d3c652 Upgrade to apollo-server-cloudflare@2.21 and mock 'tls' and 'net' modules.
This upgrades to Apollo Server 2.21 and makes a Webpack configuration change
to make it possible to bundle that new version.

Per the comment added within the Webpack configuration which aliases the
'tls' and 'net' modules in the resulting bundle to empty modules:

The 'net' and 'tls' Node.js built-in usage within Apollo Server is merely to
run `instanceof` checks against an existing, user-supplied "server" instance
when subscriptions are desired to be bound to an already-created server.
For the purposes of Cloudflare, where none of these Node.js builtins exist,
this instanceof check is irrelevant because such a class could not exist.

This is necessary as of the introduction of those `instanceof` checks in
https://github.com/apollographql/apollo-server/commit/8ab0e90724d8d35ad.
2021-03-03 09:10:47 +00:00
Kristian Freeman
1d7b6cecfb Remove null-ed dependencies, they fit now! 2019-05-29 13:40:51 -05:00
Kristian Freeman
efa3e77c98 try/catch + remove unused compression plugin 2019-05-01 18:19:47 -05:00
Kristian Freeman
4a9cc9eb2e begin aggressively removing packages w/ webpack 2019-05-01 18:08:48 -05:00
Kristian Freeman
2d5736700b init 2019-05-01 17:37:31 -05:00