Browse Source

ignore mongoose for client

Yuki Takei 4 years ago
parent
commit
25c0c0d843
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/app/config/webpack.common.js

+ 1 - 0
packages/app/config/webpack.common.js

@@ -127,6 +127,7 @@ module.exports = (options) => {
       // ignore
       new webpack.IgnorePlugin(/^\.\/lib\/deflate\.js/, /markdown-it-plantuml/),
       new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
+      new webpack.IgnorePlugin(/mongoose/),
 
       new LodashModuleReplacementPlugin({
         flattening: true,