kazupon/vue-cli-plugin-p11n

rollup configuration customizing with vue.config.js

Offen

#1 geöffnet am 31.01.2019

 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (11 Forks)github user discovery
Type: Featuregood first issue

Repository-Metriken

Stars
 (111 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

support like configureWebpack of vue.config.js: refs:

configureRollup

  • Type: Object | Function

If the value is an Object, it will be merged into the final config

e.g.

const resolve = require('rollup-plugin-node-resolve')

module.exports = {
   pluginOptions: {
     p11n: {
       configureRollup: {
         plugins: [resolve({
           customResolveOptions: {
             moduleDirectory: 'node_modules'
           }
         })],
         external: ['lodash']
       }
     }
   }
}

Contributor Guide