Explorar o código

exclude mongoose from bundles

Yuki Takei %!s(int64=3) %!d(string=hai) anos
pai
achega
8509f29503
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/app/next.config.js

+ 1 - 0
packages/app/next.config.js

@@ -81,6 +81,7 @@ module.exports = async(phase, { defaultConfig }) => {
       // See: https://webpack.js.org/configuration/externals/
       // This provides a way of excluding dependencies from the output bundles
       config.externals.push('dtrace-provider');
+      config.externals.push('mongoose');
 
       // configure additional entries
       const orgEntry = config.entry;