This repository was archived by the owner on Dec 1, 2020. It is now read-only.
This repository was archived by the owner on Dec 1, 2020. It is now read-only.
rollup configuration customizing with vue.config.js #1
Open
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']
}
}
}
}