Jelajahi Sumber

ensure to babelify growi plugins in node_modules

Yuki Takei 7 tahun lalu
induk
melakukan
0c1d9ffd2b
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      config/webpack.common.js

+ 1 - 0
config/webpack.common.js

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