Skip to content

Output or log the vite rollup configuration? #19711

Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fireflysemantics
Comment options

Answer selected by fireflysemantics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants