kazupon/vue-cli-plugin-p11n

rollup configuration customizing with vue.config.js

Ouverte

#1 ouverte le 31 janv. 2019

 (6 commentaires) (0 réaction) (0 personne assignée)JavaScript (11 forks)github user discovery
Type: Featuregood first issue

Métriques du dépôt

Stars
 (111 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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']
       }
     }
   }
}

Guide contributeur