Static GitHub Issues

[1603] Multiple module with babel-plugin-component:

prev: You can use HappyPack
next: Static image library site

#1356

build: {
    babel: {
      plugins: [
        ['component', [{
          libraryName: 'element-ui',
          styleLibraryName: 'theme-default'
        }, {
          libraryName: 'mint-ui',
          style: true
        }]]
      ]
    }
  }

However, it does not seem to support multiple module babel-plugin-component#multiple-module

build: {
    babel: {
      plugins: [
        ['component', [{
          libraryName: 'element-ui',
          styleLibraryName: 'theme-default'
        }]]
      ]
    }
  }

and

build: {
    babel: {
      plugins: [
        ['component', {
          libraryName: 'element-ui',
          styleLibraryName: 'theme-default'
        }]
      ]
    }
  }

work fine!

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1429">#c1429</a>)</em></sub></div>