瀏覽代碼

prevent the warning "Can't resolve 'module' in '/workspace/growi/node_modules/source-map-support'"

Yuki Takei 3 年之前
父節點
當前提交
d1fb884d48
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/app/config/webpack.common.js

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

@@ -76,6 +76,7 @@ module.exports = (options) => {
     },
     node: {
       fs: 'empty',
+      module: 'empty',
     },
     module: {
       rules: options.module.rules.concat([