Calculate dynamically matches on config

I have a component (.tsx) that needs to calculate dynamically the
matches
property of
config
depending on the current tab url.

export const config: PlasmoCSConfig = {
  matches: /*SHOULD BE CALCULATED DYNAMICALLY*/
}

Any idea?
Was this page helpful?