@mcp-use/cli 2.6.0-canary.4 → 2.6.0-canary.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3419,10 +3419,13 @@ async function buildWidgets(projectPath) {
3419
3419
  const tempDir = path5.join(projectPath, ".mcp-use", widgetName);
3420
3420
  await fs9.mkdir(tempDir, { recursive: true });
3421
3421
  const relativeResourcesPath = path5.relative(tempDir, resourcesDir).replace(/\\/g, "/");
3422
+ const mcpUsePath = path5.join(projectPath, "node_modules", "mcp-use");
3423
+ const relativeMcpUsePath = path5.relative(tempDir, mcpUsePath).replace(/\\/g, "/");
3422
3424
  const cssContent = `@import "tailwindcss";
3423
3425
 
3424
- /* Configure Tailwind to scan the resources directory */
3426
+ /* Configure Tailwind to scan the resources directory and mcp-use package */
3425
3427
  @source "${relativeResourcesPath}";
3428
+ @source "${relativeMcpUsePath}/**/*.{ts,tsx,js,jsx}";
3426
3429
  `;
3427
3430
  await fs9.writeFile(path5.join(tempDir, "styles.css"), cssContent, "utf8");
3428
3431
  const entryContent = `import React from 'react'