Skip to main content
Glama

Bucket Feature Flags MCP Server

Official
by reflagcom
vite.config.mjs1.08 kB
import { resolve } from "path"; import { defineConfig } from "vite"; import dts from "vite-plugin-dts"; import { defaultExclude } from "vitest/config"; export default defineConfig({ test: { root: __dirname, environment: "jsdom", globals: true, setupFiles: ["./vitest.setup.ts"], exclude: [...defaultExclude, "test/e2e/**"], }, plugins: [dts({ insertTypesEntry: true })], build: { exclude: ["**/node_modules/**", "test/e2e/**"], sourcemap: true, lib: { // Could also be a dictionary or array of multiple entry points entry: resolve(__dirname, "src/index.ts"), name: "ReflagBrowserSDK", // the proper extensions will be added fileName: "reflag-browser-sdk", }, rollupOptions: { // make sure to externalize deps that shouldn't be bundled // into your library // external: ["vue"], output: { // Provide global variables to use in the UMD build // for externalized deps globals: { ReflagClient: "ReflagClient", }, }, }, }, });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/reflagcom/bucket-javascript-sdk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server