Earn more by enabling an additional feature: Meucci
This feature requires Mellowtel version 1.6.2 or higher. This is a breaking change compared to previous versions.
Mellowtel provides an optional feature that allows you to handle more requests and therefore earn more. This feature is called “Meucci”.
Installation
First, install the required npm package using your preferred package manager:
Using npm
npm install @mellowtel/module-meucci
Using yarn
yarn add @mellowtel/module-meucci
Using pnpm
pnpm add @mellowtel/module-meucci
Below are instructions for enabling the Meucci feature in your browser plugin, with options for both standard and Plasmo framework implementations.
Standard Implementation
1. Create a JavaScript file named meucci.js
In the src directory, or wherever you have js files, create a file named meucci.js and add the following code. Ensure this file gets included in your final build (/dist) directory.If you followed the initial webpack config setup, you can simply add this file to the entry object in your webpack config.
import ModuleMeucci from "@mellowtel/module-meucci";let moduleMeucci;(async () => { moduleMeucci = new ModuleMeucci(); await moduleMeucci.init();})();
2. Update your webpack config
Make sure your final build directory includes the meucci.js file.If you followed the initial webpack config setup, you can simply add this file to the entry object in your webpack config.
Run the build script manually after your main build: npm run build:meucci
Or append it to your existing build script with &: "build": "your-existing-build-command & npm run build:meucci"
This will ensure the Meucci file is properly bundled and copied to all build directories in the correct Plasmo structure.
Update initContentScript
For both implementations, modify your initContentScript method in the content script to include the correct path to the Meucci file:
// For standard implementationawait initContentScript({ meucciFilePath: "meucci.js"});
For Plasmo framework, you can use the following:
// For Plasmo frameworkawait initContentScript({ meucciFilePath: "meucci.js"});
If you also have Pascoli enabled, you can use the following:
await initContentScript({ pascoliFilePath: "pascoli.html", // or "tabs/pascoli.html" if using Plasmo framework meucciFilePath: "meucci.js"});
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mellowtel Docs","colors":{"primary":"#125e4b","light":"#bdf981","dark":"#125e4b"},"logo":{"light":"https://mintcdn.com/mellowtel/n5JaAqcm6z9JixeQ/logo/light.svg?fit=max\u0026auto=format\u0026n=n5JaAqcm6z9JixeQ\u0026q=85\u0026s=5da8a80f4f3b0e6be801925ec7bce5f2","dark":"https://mintcdn.com/mellowtel/n5JaAqcm6z9JixeQ/logo/dark.svg?fit=max\u0026auto=format\u0026n=n5JaAqcm6z9JixeQ\u0026q=85\u0026s=d56f28333592168e344c0bc64dbf3c7c","href":"https://www.mellowtel.com/"},"favicon":"https://mintcdn.com/mellowtel/vApcNOxuHX42b_lw/favicon.svg?fit=max\u0026auto=format\u0026n=vApcNOxuHX42b_lw\u0026q=85\u0026s=c82d892407a65fb8bce5ddeef889fc46","appearance":{"default":"light","strict":false},"background":{"color":{"dark":"#0a0a0a"}},"navbar":{"links":[{"href":"https://github.com/orgs/mellowtel-inc/repositories","label":"Github"}],"primary":{"type":"button","label":"Get Started","href":"https://www.mellowtel.com/mellowtel-auth/"}},"footer":{"socials":{"github":"https://github.com/orgs/mellowtel-inc/repositories","website":"https://mellowtel.com/"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Join on Discord","icon":"discord","href":"https://discord.com/invite/txAZp4MSDe"}]},"languages":[{"language":"en","default":true,"href":"get-started/welcome"},{"language":"de","href":"de/get-started/welcome"},{"language":"fr","href":"fr/get-started/welcome"},{"language":"es","href":"es/get-started/welcome"},{"language":"nl","href":"nl/get-started/welcome"},{"language":"zh","href":"zh/get-started/welcome"},{"language":"it","href":"it/get-started/welcome"},{"language":"ja","href":"ja/get-started/welcome"},{"language":"ru","href":"ru/get-started/welcome"},{"language":"ar","href":"ar/get-started/welcome"},{"language":"pt-BR","href":"pt-BR/get-started/welcome"},{"language":"hi","href":"hi/get-started/welcome"},{"language":"uk","href":"uk/get-started/welcome"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mellowtel","hasAudioNarration":false,"actualSubdomain":"mellowtel","customDomains":["www.mellowtel.com"],"gitSource":{"type":"github","owner":"mellowtel","repo":"docs","deployBranch":"prod","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":false,"issues":false},"entitlements":{},"buildId":"6ab152ee39c80c0fd491d888","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"ar","tag":"إضافات المتصفح","count":14},{"language":"ar","tag":"دمج","count":14},{"language":"en","tag":"Browser Plugins","count":14},{"language":"en","tag":"Integrate","count":14},{"language":"de","tag":"Browser-Plugins","count":14},{"language":"de","tag":"Integrieren","count":14},{"language":"es","tag":"Complementos del navegador","count":14},{"language":"es","tag":"Integrar","count":14},{"language":"fr","tag":"Extensions du navigateur","count":14},{"language":"fr","tag":"Intégrer","count":14},{"language":"hi","tag":"ब्राउज़र प्लगइन्स","count":14},{"language":"hi","tag":"एकीकृत करें","count":14},{"language":"it","tag":"Plugin del browser","count":14},{"language":"it","tag":"Integrare","count":14},{"language":"ja","tag":"ブラウザプラグイン","count":14},{"language":"ja","tag":"統合","count":14},{"language":"nl","tag":"Browserplug-ins","count":14},{"language":"nl","tag":"Integreren","count":14},{"language":"pt-BR","tag":"Plugins do Navegador","count":14},{"language":"pt-BR","tag":"Integrar","count":14},{"language":"ru","tag":"Плагины браузера","count":14},{"language":"ru","tag":"Интегрировать","count":14},{"language":"uk","tag":"Плагіни браузера","count":14},{"language":"uk","tag":"Інтегрувати","count":14},{"language":"zh","tag":"浏览器插件","count":14},{"language":"zh","tag":"集成","count":14},{"language":"ar","tag":"مرحبا","count":5},{"language":"ar","tag":"عناصر ميلوتيل","count":5},{"language":"en","tag":"Welcome","count":5},{"language":"en","tag":"Mellowtel Elements","count":5},{"language":"de","tag":"Willkommen","count":5},{"language":"de","tag":"Mellowtel-Elemente","count":5},{"language":"es","tag":"Bienvenido","count":5},{"language":"es","tag":"Elementos de Mellowtel","count":5},{"language":"fr","tag":"Bienvenue","count":5},{"language":"fr","tag":"Éléments Mellowtel","count":5},{"language":"hi","tag":"स्वागत है","count":5},{"language":"hi","tag":"मेलोटेल तत्व","count":5},{"language":"it","tag":"Benvenuto","count":5},{"language":"it","tag":"Elementi Mellowtel","count":5},{"language":"ja","tag":"ようこそ","count":5},{"language":"ja","tag":"メロウテル要素","count":5},{"language":"nl","tag":"Welkom","count":5},{"language":"nl","tag":"Mellowtel-elementen","count":5},{"language":"pt-BR","tag":"Bem-vindo","count":5},{"language":"pt-BR","tag":"Elementos Mellowtel","count":5},{"language":"ru","tag":"Добро пожаловать","count":5},{"language":"ru","tag":"Элементы Mellowtel","count":5},{"language":"uk","tag":"Ласкаво просимо","count":5},{"language":"uk","tag":"Елементи Mellowtel","count":5},{"language":"zh","tag":"欢迎","count":5},{"language":"zh","tag":"Mellowtel 元素","count":5},{"language":"ar","tag":"إرسال للمحلات","count":4},{"language":"ar","tag":"المفاهيم","count":4},{"language":"en","tag":"Submit to Stores","count":4},{"language":"en","tag":"Concepts","count":4},{"language":"de","tag":"An Geschäfte übermitteln","count":4},{"language":"de","tag":"Konzepte","count":4},{"language":"es","tag":"Enviar a tiendas","count":4},{"language":"es","tag":"Conceptos","count":4},{"language":"fr","tag":"Soumettre aux magasins","count":4},{"language":"fr","tag":"Concepts","count":4},{"language":"hi","tag":"स्टोर्स में सबमिट करें","count":4},{"language":"hi","tag":"संकल्पनाएँ","count":4},{"language":"it","tag":"Invia ai negozi","count":4},{"language":"it","tag":"Concetti","count":4},{"language":"ja","tag":"ストアに提出","count":4},{"language":"ja","tag":"コンセプト","count":4},{"language":"nl","tag":"Indienen bij winkels","count":4},{"language":"nl","tag":"Concepten","count":4},{"language":"pt-BR","tag":"Enviar para Lojas","count":4},{"language":"pt-BR","tag":"Conceitos","count":4},{"language":"ru","tag":"Отправить в магазины","count":4},{"language":"ru","tag":"Концепции","count":4},{"language":"uk","tag":"Надіслати до магазинів","count":4},{"language":"uk","tag":"Концепції","count":4},{"language":"zh","tag":"提交到商店","count":4},{"language":"zh","tag":"概念","count":4},{"language":"ar","tag":"تكاملات اختيارية","count":3},{"language":"ar","tag":"تطبيقات سطح المكتب","count":3},{"language":"en","tag":"Optional Integrations","count":3},{"language":"en","tag":"Desktop Apps","count":3},{"language":"de","tag":"Optionale Integrationen","count":3},{"language":"de","tag":"Desktop-Apps","count":3},{"language":"es","tag":"Integraciones opcionales","count":3},{"language":"es","tag":"Aplicaciones de escritorio","count":3},{"language":"fr","tag":"Intégrations facultatives","count":3},{"language":"fr","tag":"Applications de bureau","count":3},{"language":"hi","tag":"वैकल्पिक एकीकरण","count":3},{"language":"hi","tag":"डेस्कटॉप ऐप्स","count":3},{"language":"it","tag":"Integrazioni opzionali","count":3},{"language":"it","tag":"App desktop","count":3},{"language":"ja","tag":"オプションの統合","count":3},{"language":"ja","tag":"デスクトップアプリ","count":3},{"language":"nl","tag":"Optionele integraties","count":3},{"language":"nl","tag":"Bureaublad-apps","count":3},{"language":"pt-BR","tag":"Integrações Opcionais","count":3},{"language":"pt-BR","tag":"Aplicativos para Desktop","count":3},{"language":"ru","tag":"Дополнительные интеграции","count":3},{"language":"ru","tag":"Настольные приложения","count":3},{"language":"uk","tag":"Додаткові інтеграції","count":3},{"language":"uk","tag":"Настільні додатки","count":3},{"language":"zh","tag":"可选集成","count":3},{"language":"zh","tag":"桌面应用程序","count":3},{"language":"ar","tag":"إطارات العمل","count":2},{"language":"en","tag":"Frameworks","count":2},{"language":"de","tag":"Frameworks","count":2},{"language":"es","tag":"Marcos","count":2},{"language":"fr","tag":"Cadres","count":2},{"language":"hi","tag":"फ्रेमवर्क्स","count":2},{"language":"it","tag":"Framework","count":2},{"language":"ja","tag":"フレームワーク","count":2},{"language":"nl","tag":"Frameworks","count":2},{"language":"pt-BR","tag":"Frameworks","count":2},{"language":"ru","tag":"Фреймворки","count":2},{"language":"uk","tag":"Фреймворки","count":2},{"language":"zh","tag":"框架","count":2},{"language":"ar","tag":"ن.ب.م","count":1},{"language":"en","tag":"NPM","count":1},{"language":"de","tag":"NPM","count":1},{"language":"es","tag":"NPM","count":1},{"language":"fr","tag":"NPM","count":1},{"language":"hi","tag":"एनपीएम","count":1},{"language":"it","tag":"NPM","count":1},{"language":"ja","tag":"NPM","count":1},{"language":"nl","tag":"NPM","count":1},{"language":"pt-BR","tag":"NPM","count":1},{"language":"ru","tag":"NPM","count":1},{"language":"uk","tag":"NPM","count":1},{"language":"zh","tag":"NPM","count":1}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"div.absolute.bottom-0.left-0.w-full.bg-primary,div.absolute.bottom-0.left-0.w-full.dark\\:bg-primary-light{display:none!important}"}],"page":{"pagePath":"browser-plugins/optional-integrations/meucci","slug":"/browser-plugins/optional-integrations/meucci","pageMetadata":{"sidebarTitle":"Earn more - Meucci","title":"Earn more by enabling an additional feature: Meucci","icon":"circle-nodes","robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonical":"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci","og:title":"Mellowtel Meucci Module Setup for Browser Plugins Guide","og:description":"Mellowtel Meucci module setup explains package installation, standard and Plasmo builds, manifest resources, and initContentScript configuration.","og:url":"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci","twitter:card":"summary","twitter:title":"Mellowtel Meucci Module Setup for Browser Plugins Guide","twitter:description":"Mellowtel Meucci module setup explains package installation, standard and Plasmo builds, manifest resources, and initContentScript configuration.","description":null,"href":"/browser-plugins/optional-integrations/meucci"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsx(_components.p,{children:`This feature requires Mellowtel version 1.6.2 or higher. This is a breaking change compared to previous versions.`})}),`\n`,_jsx(_components.p,{children:`Mellowtel provides an optional feature that allows you to handle more requests and therefore earn more. This feature is called “Meucci”.`}),`\n`,_jsx(Heading,{level:`2`,id:`installation`,children:`Installation`}),`\n`,_jsx(_components.p,{children:`First, install the required npm package using your preferred package manager:`}),`\n`,_jsx(Heading,{level:`3`,id:`using-npm`,children:`Using npm`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @mellowtel/module-meucci`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`using-yarn`,children:`Using yarn`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`yarn`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @mellowtel/module-meucci`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`using-pnpm`,children:`Using pnpm`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pnpm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @mellowtel/module-meucci`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Below are instructions for enabling the Meucci feature in your browser plugin, with options for both standard and Plasmo framework implementations.`}),`\n`,_jsx(Heading,{level:`2`,id:`standard-implementation`,children:`Standard Implementation`}),`\n`,_jsxs(Heading,{level:`3`,id:`1-create-a-javascript-file-named-meucci-js`,children:[`1. Create a JavaScript file named `,_jsx(_components.code,{children:`meucci.js`})]}),`\n`,_jsxs(_components.p,{children:[`In the src directory, or wherever you have js files, create a file named `,_jsx(_components.code,{children:`meucci.js`}),` and add the following code. Ensure this file gets included in your final build (/dist) directory.`]}),`\n`,_jsxs(_components.p,{children:[`If you followed the initial `,_jsx(_components.a,{href:`/browser-plugins/static-to-webpack`,children:`webpack config setup`}),`, you can simply add this file to the `,_jsx(_components.code,{children:`entry`}),` object in your webpack config.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ModuleMeucci`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@mellowtel/module-meucci\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` moduleMeucci`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` moduleMeucci`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` ModuleMeucci`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` moduleMeucci`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})();`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`2-update-your-webpack-config`,children:`2. Update your webpack config`}),`\n`,_jsxs(_components.p,{children:[`Make sure your final build directory includes the `,_jsx(_components.code,{children:`meucci.js`}),` file.`]}),`\n`,_jsxs(_components.p,{children:[`If you followed the initial `,_jsx(_components.a,{href:`/browser-plugins/static-to-webpack`,children:`webpack config setup`}),`, you can simply add this file to the `,_jsx(_components.code,{children:`entry`}),` object in your webpack config.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`module`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`exports`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // ...`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` entry:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // background: path.join(__dirname, 'src', 'background.js'),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // popup: path.join(__dirname, 'src', 'popup.js'),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // content_script: path.join(__dirname, 'src', 'content_script.js'), ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // pascoli: path.join(__dirname, 'src', 'pascoli.js'),`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` meucci:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`join`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`__dirname`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'src'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'meucci.js'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`3-update-manifest-json`,children:`3. Update manifest.json`}),`\n`,_jsxs(_components.p,{children:[`Add the `,_jsx(_components.code,{children:`meucci.js`}),` file to your `,_jsx(_components.code,{children:`manifest.json`}),` as web_accessible_resources:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"web_accessible_resources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"meucci.js\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"matches\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003call_urls>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`plasmo-framework-implementation`,children:`Plasmo Framework Implementation`}),`\n`,_jsx(_components.p,{children:`If you’re using the Plasmo framework, follow these alternative steps:`}),`\n`,_jsxs(Heading,{level:`3`,id:`1-create-a-typescript-file-named-meucci-ts`,children:[`1. Create a TypeScript file named `,_jsx(_components.code,{children:`meucci.ts`})]}),`\n`,_jsxs(_components.p,{children:[`In the src directory, or wherever you have ts files, create a file named `,_jsx(_components.code,{children:`meucci.ts`}),` and add the following code:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ModuleMeucci`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@mellowtel/module-meucci\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` moduleMeucci`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` moduleMeucci`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` ModuleMeucci`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` moduleMeucci`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})();`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`2-create-build-script`,children:`2. Create Build Script`}),`\n`,_jsxs(_components.p,{children:[`Create a `,_jsx(_components.code,{children:`build-meucci.js`}),` file in your project root with the following content:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`67`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`67`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` esbuild`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'esbuild'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` fs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'fs'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'path'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Function to wait for a directory to exist`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` waitForDirectory`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`dir`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`timeout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` start`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`now`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` while`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`existsSync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dir`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`now`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` start`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` >`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` timeout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` throw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Timeout waiting for directory: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dir`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` Promise`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`resolve`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setTimeout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`resolve`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Create the build function`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` buildMeucci`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Build the bundle`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` esbuild`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` entryPoints:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'src/meucci.ts'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// TODO: REPLACE with the path to your meucci.ts file`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` bundle:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` outfile:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'meucci.bundled.js'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` platform:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'browser'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` format:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'iife'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` minify:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` target:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'es2020'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` define:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'process.env.NODE_ENV'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\"production\"'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Read the bundled file`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` bundledContent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`readFileSync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'meucci.bundled.js'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'utf8'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Copy to dev and prod directories`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` directories`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [ `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'build/chrome-mv3-dev'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'build/chrome-mv3-prod'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'build/firefox-mv2-dev'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'build/firefox-mv2-prod'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'build/safari-mv2-dev'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'build/safari-mv2-prod'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'build/opera-mv3-dev'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'build/opera-mv3-prod'`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ] `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// TODO: REPLACE with the paths to your dev and prod directories`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Process all directories concurrently`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` Promise`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`all`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`directories`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`map`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`dir`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Waiting for directory: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dir`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` waitForDirectory`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dir`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Write the bundled file`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`writeFileSync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`path`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`join`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dir`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'meucci.js'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bundledContent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Added meucci.js to \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dir`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Skipping \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dir`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`message`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }))`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Clean up the temporary file`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`unlinkSync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'meucci.bundled.js'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`buildMeucci`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`exit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`3-update-package-json`,children:`3. Update package.json`}),`\n`,_jsxs(_components.p,{children:[`Add the following to your `,_jsx(_components.code,{children:`package.json`}),` file:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scripts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"build:meucci\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"node build-meucci.js\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"web_accessible_resources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"meucci.js\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"matches\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003call_urls>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`You can either:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Run the build script manually after your main build: `,_jsx(_components.code,{children:`npm run build:meucci`})]}),`\n`,_jsxs(_components.li,{children:[`Or append it to your existing build script with `,_jsx(_components.code,{children:`\u0026`}),`: `,_jsx(_components.code,{children:`\"build\": \"your-existing-build-command \u0026 npm run build:meucci\"`})]}),`\n`]}),`\n`,_jsx(_components.p,{children:`This will ensure the Meucci file is properly bundled and copied to all build directories in the correct Plasmo structure.`}),`\n`,_jsx(Heading,{level:`2`,id:`update-initcontentscript`,children:`Update initContentScript`}),`\n`,_jsxs(_components.p,{children:[`For both implementations, modify your `,_jsx(_components.code,{children:`initContentScript`}),` method in the content script to include the correct path to the Meucci file:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// For standard implementation`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` initContentScript`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` meucciFilePath:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"meucci.js\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`For Plasmo framework, you can use the following:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// For Plasmo framework`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` initContentScript`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` meucciFilePath:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"meucci.js\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`If you also have Pascoli enabled, you can use the following:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` initContentScript`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` pascoliFilePath:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pascoli.html\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// or \"tabs/pascoli.html\" if using Plasmo framework`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` meucciFilePath:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"meucci.js\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"sidebarTitle":"Earn more - Meucci","title":"Earn more by enabling an additional feature: Meucci","icon":"circle-nodes","robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonical":"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci","og:title":"Mellowtel Meucci Module Setup for Browser Plugins Guide","og:description":"Mellowtel Meucci module setup explains package installation, standard and Plasmo builds, manifest resources, and initContentScript configuration.","og:url":"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci","twitter:card":"summary","twitter:title":"Mellowtel Meucci Module Setup for Browser Plugins Guide","twitter:description":"Mellowtel Meucci module setup explains package installation, standard and Plasmo builds, manifest resources, and initContentScript configuration.","description":null,"href":"/browser-plugins/optional-integrations/meucci"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Installation","slug":"installation","depth":2,"children":[{"title":"Using npm","slug":"using-npm","depth":3,"children":[]},{"title":"Using yarn","slug":"using-yarn","depth":3,"children":[]},{"title":"Using pnpm","slug":"using-pnpm","depth":3,"children":[]}]},{"title":"Standard Implementation","slug":"standard-implementation","depth":2,"children":[{"title":"1. Create a JavaScript file named meucci.js","slug":"1-create-a-javascript-file-named-meucci-js","depth":3,"children":[]},{"title":"2. Update your webpack config","slug":"2-update-your-webpack-config","depth":3,"children":[]},{"title":"3. Update manifest.json","slug":"3-update-manifest-json","depth":3,"children":[]}]},{"title":"Plasmo Framework Implementation","slug":"plasmo-framework-implementation","depth":2,"children":[{"title":"1. Create a TypeScript file named meucci.ts","slug":"1-create-a-typescript-file-named-meucci-ts","depth":3,"children":[]},{"title":"2. Create Build Script","slug":"2-create-build-script","depth":3,"children":[]},{"title":"3. Update package.json","slug":"3-update-package-json","depth":3,"children":[]}]},{"title":"Update initContentScript","slug":"update-initcontentscript","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mellowtel","siteName":"Mellowtel Docs","title":"Mellowtel Meucci Module Setup for Browser Plugins Guide","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/browser-plugins/optional-integrations/meucci","matchLevel":0},"de":{"href":"/de/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"fr":{"href":"/fr/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"es":{"href":"/es/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"nl":{"href":"/nl/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"zh":{"href":"/zh/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"it":{"href":"/it/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"ja":{"href":"/ja/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"ru":{"href":"/ru/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"ar":{"href":"/ar/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"pt-BR":{"href":"/pt-BR/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"hi":{"href":"/hi/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true},"uk":{"href":"/uk/browser-plugins/optional-integrations/meucci","matchLevel":1,"robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","canonicalOverride":true}}},"lastModified":"2026-09-21T15:53:35.759Z","originalFileLocation":"browser-plugins/optional-integrations/meucci.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Mellowtel Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/mellowtel/3Vesu6SGmM8Hx-SA/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/mellowtel/3Vesu6SGmM8Hx-SA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/mellowtel/3Vesu6SGmM8Hx-SA/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/mellowtel/3Vesu6SGmM8Hx-SA/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/mellowtel/3Vesu6SGmM8Hx-SA/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/mellowtel/3Vesu6SGmM8Hx-SA/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/mellowtel/3Vesu6SGmM8Hx-SA/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/mellowtel/3Vesu6SGmM8Hx-SA/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/mellowtel/3Vesu6SGmM8Hx-SA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Mellowtel Meucci Module Setup for Browser Plugins Guide\">\u003cmeta data-mint-head property=\"og:description\" content=\"Mellowtel Meucci module setup explains package installation, standard and Plasmo builds, manifest resources, and initContentScript configuration.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mellowtel Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mellowtel.mintlify.site/docs/_mintlify/api/og/v2?division=Optional+Integrations\u0026amp;title=Earn+more+by+enabling+an+additional+feature%3A+Meucci\u0026amp;theme=ff7c7fc085cbd4772c6e9bb0\u0026amp;signature=93ab1386e2aaeebf927ae845ecf5853bab56b861fbd4c36621156dbebcd30673\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Mellowtel Meucci Module Setup for Browser Plugins Guide\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Mellowtel Meucci module setup explains package installation, standard and Plasmo builds, manifest resources, and initContentScript configuration.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mellowtel.mintlify.site/docs/_mintlify/api/og/v2?division=Optional+Integrations\u0026amp;title=Earn+more+by+enabling+an+additional+feature%3A+Meucci\u0026amp;theme=ff7c7fc085cbd4772c6e9bb0\u0026amp;signature=93ab1386e2aaeebf927ae845ecf5853bab56b861fbd4c36621156dbebcd30673\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/mellowtel/3Vesu6SGmM8Hx-SA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mellowtel Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#125e4b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/browser-plugins/optional-integrations/meucci.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.mellowtel.com/#organization\",\"name\":\"Mellowtel Docs\",\"url\":\"https://www.mellowtel.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mellowtel/n5JaAqcm6z9JixeQ/logo/light.svg?fit=max\u0026auto=format\u0026n=n5JaAqcm6z9JixeQ\u0026q=85\u0026s=5da8a80f4f3b0e6be801925ec7bce5f2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.mellowtel.com/docs#website\",\"name\":\"Mellowtel Docs\",\"url\":\"https://www.mellowtel.com/docs\",\"publisher\":{\"@id\":\"https://www.mellowtel.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci#webpage\",\"url\":\"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci\",\"name\":\"Earn more by enabling an additional feature: Meucci\",\"dateModified\":\"2026-09-21T15:53:35.759Z\",\"isPartOf\":{\"@id\":\"https://www.mellowtel.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Browser Plugins\",\"item\":\"https://www.mellowtel.com/docs/browser-plugins/quickstart\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Optional Integrations\",\"item\":\"https://www.mellowtel.com/docs/browser-plugins/optional-integrations/feedback-page\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Earn more by enabling an additional feature: Meucci\",\"item\":\"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci#article\",\"headline\":\"Earn more by enabling an additional feature: Meucci\",\"name\":\"Earn more by enabling an additional feature: Meucci\",\"url\":\"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci\",\"mainEntityOfPage\":{\"@id\":\"https://mellowtel.com/docs/browser-plugins/optional-integrations/meucci#webpage\"},\"dateModified\":\"2026-09-21T15:53:35.759Z\",\"publisher\":{\"@id\":\"https://www.mellowtel.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.mellowtel.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mellowtel Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mellowtel Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/browser-plugins/optional-integrations/meucci.md","siteName":"Mellowtel Docs","nav":{"global":{"anchors":[{"anchor":"Join on Discord","icon":"discord","href":"https://discord.com/invite/txAZp4MSDe"}]},"languages":[{"language":"en","default":true,"tabs":[{"tab":"Welcome","groups":[{"group":"Get Started","pages":[{"sidebarTitle":"Welcome","title":"Welcome 👋","icon":"hand-wave","href":"/get-started/welcome"}]},{"group":"Concepts","pages":[{"title":"Overview","icon":"compass","href":"/concepts/overview"},{"title":"Opt In / Opt Out","icon":"signature","href":"/concepts/opt-in-out"},{"title":"Privacy","icon":"lock","href":"/concepts/privacy"},{"title":"Rate Limiting","icon":"stopwatch","href":"/concepts/rate-limiting"}]},{"group":"Desktop Apps","pages":[{"sidebarTitle":"Quick Start","title":"Integrate Mellowtel in your Desktop App","icon":"rocket","href":"/desktop-app/quickstart"},{"sidebarTitle":"Windows (.NET)","title":"Integrate Mellowtel in your Windows Desktop App","icon":"windows","href":"/desktop-app/windows"},{"sidebarTitle":"Electron","title":"Integrate Mellowtel in your Electron App","icon":"bolt","href":"/desktop-app/electron"}]},{"group":"Browser Plugins","pages":[{"group":"Integrate","pages":[{"sidebarTitle":"Quick Start","title":"Integrate Mellowtel in your browser extension","icon":"rocket","href":"/browser-plugins/quickstart"},{"sidebarTitle":"Chrome / Edge integration","title":"Integrate Mellowtel in your Chrome/Edge extension","icon":"chrome","href":"/browser-plugins/chrome_edge"},{"sidebarTitle":"Static to Webpack","title":"Setting Up Webpack for a Browser plugin","icon":"cube","href":"/browser-plugins/static-to-webpack"},{"sidebarTitle":"Mellowtel without Bundlers","title":"Integrating Mellowtel without Bundlers","icon":"box","href":"/browser-plugins/mellowtel-without-bundlers"}]},{"group":"Submit to Stores","pages":[{"sidebarTitle":"Submit to the CWS","title":"Submit extension to the Chrome Web Store","icon":"chrome","href":"/browser-plugins/submit-to-chrome-store"},{"sidebarTitle":"Submit to Edge Add-ons","title":"Submit extension to Microsoft Edge Add-ons","icon":"edge","href":"/browser-plugins/submit-to-edge-store"},{"sidebarTitle":"Submit to Safari Store","title":"Submit extension to the Safari App Store","icon":"safari","href":"/browser-plugins/submit-to-safari-store"},{"sidebarTitle":"Submit to Firefox Add-ons","title":"Submit extension to Firefox Add-ons","icon":"firefox","href":"/browser-plugins/submit-to-firefox-store"}]},{"group":"Frameworks","pages":[{"sidebarTitle":"Plasmo","title":"Integrate Mellowtel in your Plasmo extension","icon":"puzzle","href":"/browser-plugins/guides/plasmo"},{"sidebarTitle":"WXT","title":"Implementing Mellowtel in an extension built with WXT","icon":"puzzle-piece","href":"/browser-plugins/guides/web-extension-framework"}]},{"group":"Optional Integrations","pages":[{"sidebarTitle":"User Feedback","title":"Collect feedback from your users","icon":"comment","href":"/browser-plugins/optional-integrations/feedback-page"},{"sidebarTitle":"Earn more - Pascoli","title":"Earn more by enabling an additional feature: Pascoli","icon":"dove","description":null,"href":"/browser-plugins/optional-integrations/pascoli"},{"sidebarTitle":"Earn more - Meucci","title":"Earn more by enabling an additional feature: Meucci","icon":"circle-nodes","href":"/browser-plugins/optional-integrations/meucci"}]},{"group":"NPM","pages":[{"sidebarTitle":"NPM Package","title":"Mellowtel Plugin NPM Package","icon":"npm","description":null,"href":"/browser-plugins/npm/npm"}]}]},{"group":"Website","pages":[{"sidebarTitle":"Quick Start","title":"Monetize your website with Mellowtel","icon":"rocket","href":"/website/quickstart"}]},{"group":"Mellowtel Elements","pages":[{"sidebarTitle":"Quick Start","title":"Mellowtel Elements - UI Components","icon":"rocket","href":"/mellowtel-elements/quickstart"},{"sidebarTitle":"Extension Integration","title":"Implement Mellowtel Elements in Browser Extensions","icon":"puzzle-piece","href":"/mellowtel-elements/extension-integration"},{"sidebarTitle":"Website Integration","title":"Implement Mellowtel Elements in Websites","icon":"globe","href":"/mellowtel-elements/website-integration"},{"sidebarTitle":"Support Modal","title":"Mellowtel Support Modal","icon":"window-maximize","href":"/mellowtel-elements/modal"},{"sidebarTitle":"Styling Elements","title":"Style Mellowtel Elements","icon":"palette","href":"/mellowtel-elements/styling"}]},{"group":"Mobile App","pages":[{"sidebarTitle":"Quick Start","title":"Integrate Mellowtel in your Mobile App","icon":"rocket","href":"/mobile-app/quickstart"}]}]},{"tab":"Desktop Apps","pages":[{"title":"Desktop Apps","href":"/desktop-app/quickstart"}]},{"tab":"Browser Plugins","groups":[{"group":"Integrate","pages":[{"sidebarTitle":"Quick Start","title":"Integrate Mellowtel in your browser extension","icon":"rocket","href":"/browser-plugins/quickstart"},{"sidebarTitle":"Chrome / Edge integration","title":"Integrate Mellowtel in your Chrome/Edge extension","icon":"chrome","href":"/browser-plugins/chrome_edge"},{"sidebarTitle":"Static to Webpack","title":"Setting Up Webpack for a Browser plugin","icon":"cube","href":"/browser-plugins/static-to-webpack"},{"sidebarTitle":"Mellowtel without Bundlers","title":"Integrating Mellowtel without Bundlers","icon":"box","href":"/browser-plugins/mellowtel-without-bundlers"}]},{"group":"Submit to Stores","pages":[{"sidebarTitle":"Submit to the CWS","title":"Submit extension to the Chrome Web Store","icon":"chrome","href":"/browser-plugins/submit-to-chrome-store"},{"sidebarTitle":"Submit to Edge Add-ons","title":"Submit extension to Microsoft Edge Add-ons","icon":"edge","href":"/browser-plugins/submit-to-edge-store"},{"sidebarTitle":"Submit to Safari Store","title":"Submit extension to the Safari App Store","icon":"safari","href":"/browser-plugins/submit-to-safari-store"},{"sidebarTitle":"Submit to Firefox Add-ons","title":"Submit extension to Firefox Add-ons","icon":"firefox","href":"/browser-plugins/submit-to-firefox-store"}]},{"group":"Frameworks","pages":[{"sidebarTitle":"Plasmo","title":"Integrate Mellowtel in your Plasmo extension","icon":"puzzle","href":"/browser-plugins/guides/plasmo"},{"sidebarTitle":"WXT","title":"Implementing Mellowtel in an extension built with WXT","icon":"puzzle-piece","href":"/browser-plugins/guides/web-extension-framework"}]},{"group":"Optional Integrations","pages":[{"sidebarTitle":"User Feedback","title":"Collect feedback from your users","icon":"comment","href":"/browser-plugins/optional-integrations/feedback-page"},{"sidebarTitle":"Earn more - Pascoli","title":"Earn more by enabling an additional feature: Pascoli","icon":"dove","description":null,"href":"/browser-plugins/optional-integrations/pascoli"},{"sidebarTitle":"Earn more - Meucci","title":"Earn more by enabling an additional feature: Meucci","icon":"circle-nodes","href":"/browser-plugins/optional-integrations/meucci"}]},{"group":"NPM","pages":[{"sidebarTitle":"NPM Package","title":"Mellowtel Plugin NPM Package","icon":"npm","description":null,"href":"/browser-plugins/npm/npm"}]}]},{"tab":"Website","pages":[{"title":"Website","href":"/website/quickstart"}]},{"tab":"Mellowtel Elements","pages":[{"title":"Mellowtel Elements","href":"/mellowtel-elements/quickstart"}]},{"tab":"Mobile App","pages":[{"title":"Mobile App","href":"/mobile-app/quickstart"}]}]},{"language":"de","pages":[{"title":"de","href":"/de/browser-plugins/optional-integrations/meucci"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/browser-plugins/optional-integrations/meucci"}]},{"language":"es","pages":[{"title":"es","href":"/es/browser-plugins/optional-integrations/meucci"}]},{"language":"nl","pages":[{"title":"nl","href":"/nl/browser-plugins/optional-integrations/meucci"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/browser-plugins/optional-integrations/meucci"}]},{"language":"it","pages":[{"title":"it","href":"/it/browser-plugins/optional-integrations/meucci"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/browser-plugins/optional-integrations/meucci"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/browser-plugins/optional-integrations/meucci"}]},{"language":"ar","pages":[{"title":"ar","href":"/ar/browser-plugins/optional-integrations/meucci"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/browser-plugins/optional-integrations/meucci"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/browser-plugins/optional-integrations/meucci"}]},{"language":"uk","pages":[{"title":"uk","href":"/uk/browser-plugins/optional-integrations/meucci"}]}]},"basePath":"","title":"Mellowtel Meucci Module Setup for Browser Plugins Guide","deploymentId":"dpl_81ettUQ5G7NASN425B6JKU3FX1Rg","buildId":"dpl_81ettUQ5G7NASN425B6JKU3FX1Rg","dynamics":[],"chunks":[]}