fde488ac82
BREAKING CHANGE: `defineContentScript` and `defineBackground` are now exported from `wxt/sandbox` instead of `wxt/client`. If you use auto-imports, no changes are required. If you have disabled auto-imports, you'll need to manually update your import statements.
8 lines
185 B
TypeScript
8 lines
185 B
TypeScript
import type { ContentScriptDefinition } from '~/types';
|
|
|
|
export function defineContentScript(
|
|
definition: ContentScriptDefinition,
|
|
): ContentScriptDefinition {
|
|
return definition;
|
|
}
|