Sfoglia il codice sorgente

ensure to babelify growi plugins in node_modules

Yuki Takei 7 anni fa
parent
commit
0c1d9ffd2b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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