kazupon/vue-cli-plugin-p11n
rollup configuration customizing with vue.config.js
Offen
#1 geöffnet am 31.01.2019
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:
- 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']
}
}
}
}