瀏覽代碼

ensure to babelify growi plugins in node_modules

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

+ 1 - 0
config/webpack.common.js

@@ -77,6 +77,7 @@ module.exports = (options) => {
           exclude: {
             test:    helpers.root('node_modules'),
             exclude: [  // include as a result
+              { test: helpers.root('node_modules', 'growi-plugin-') },
               helpers.root('node_modules/codemirror/src'),
               helpers.root('node_modules/string-width'),
               helpers.root('node_modules/is-fullwidth-code-point'), // depends from string-width