MCPcopy Index your code
hub / github.com/TrySound/rollup-plugin-string

github.com/TrySound/rollup-plugin-string @v3.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.0.0 ↗ · + Follow
2 symbols 4 edges 4 files 0 documented · 0% 13 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

rollup-plugin-string Build Status

Converts text files to modules:

import tpl from "./tpl.html";
console.log(`Template for render: ${tpl}`);

Installation

npm i rollup-plugin-string -D

Usage

import { rollup } from "rollup";
import { string } from "rollup-plugin-string";

rollup({
  entry: "main.js",
  plugins: [
    string({
      // Required to be specified
      include: "**/*.html",

      // Undefined by default
      exclude: ["**/index.html"]
    })
  ]
});

License

MIT © Bogdan Chadkin

Core symbols most depended-on inside this repo

string
called by 3
index.js
transform
called by 0
index.js

Shape

Function 2

Languages

TypeScript100%

Modules by API surface

index.js2 symbols

For agents

$ claude mcp add rollup-plugin-string \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact