Coming from Webpack, I had the opportunity to group modules content in order to receive them as unique file by doing:
optimization: {
splitChunks: {
cacheGroups: {
my_module: {
test: 'node_modules/my_module,
name: 'my_module
}
},
}
}
Is there a way to do the same in Rollup?