kazupon/vue-cli-plugin-p11n
rollup configuration customizing with vue.config.js
Aberta
#1 aberto em 31 de jan. de 2019
Type: Featuregood first issue
Métricas do repositório
- Stars
- (111 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
support like configureWebpack of vue.config.js:
refs:
- https://cli.vuejs.org/guide/webpack.html#simple-configuration
- https://cli.vuejs.org/config/#configurewebpack
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']
}
}
}
}