Skip to content

Best practice for managing env's? #83

Answered by jacksteamdev
areohbe asked this question in Q&A
Discussion options

You must be logged in to vote

You can extend the manifest using options.extendManifest. This option will merge the supplied object with the manifest data.

export default {
  ...rollupConfig,
  plugins: [
    chromeExtension({
      extendManifest: {
        icons: { ... } // Overwrite just the icons object
      }
    }),
    ...plugins
  ],
}

I'd like to support this better in the future! Right now the manifest file name is validated as manifest.json, which is probably too strict. Would be nice to support other file formats too, like TS.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@areohbe
Comment options

@jacksteamdev
Comment options

@areohbe
Comment options

@jacksteamdev
Comment options

Answer selected by areohbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
rollup-plugin Related to Rollup plugin
2 participants