Output or log the vite rollup configuration? #19711
Answered
by
sapphi-red
fireflysemantics
asked this question in
Q&A
-
When we create a vite project running However the command Is there a way to output the default rollup configuration, so we can see what the settings used to create the bundle? Also asked this on so. |
Beta Was this translation helpful? Give feedback.
Answered by
sapphi-red
Mar 26, 2025
Replies: 1 comment 1 reply
-
You can get the options / outputOptions object by a plugin (reproduction). export default {
plugins: [
{
name: 'log',
options(options) {
console.log('options', options);
},
outputOptions(outputOptions) {
console.log('outputOptions', outputOptions);
},
},
],
}; But I'm not sure if that's useful though. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fireflysemantics
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can get the options / outputOptions object by a plugin (reproduction).
But I'm not sure if that's useful though.