kazupon/vue-cli-plugin-p11n

rollup configuration customizing with vue.config.js

開放

#1 建立於 2019年1月31日

 (6 則留言) (0 個反應) (0 位負責人)JavaScript (11 個分叉)github user discovery
Type: Featuregood first issue

倉庫指標

星標
 (111 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南