{"library":"rollup-plugin-dot","title":"rollup-plugin-dot","description":"Rollup plugin that compiles doT.js template files (.dot, .tpl) into JavaScript functions during bundling. Current stable version is 1.1.0. The plugin provides a seamless integration of doT templates with Rollup, enabling imports like `import view from './view.dot'`. It supports include/exclude patterns, custom doT template settings, and template defines. Key differentiators: minimal configuration, TypeScript type definitions included, and supports both .dot and .tpl extensions. Unlike alternatives, it focuses solely on doT without additional template engine overhead.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-dot"],"cli":null},"imports":["import dot from 'rollup-plugin-dot'","const dot = require('rollup-plugin-dot')","import type { DotPluginOptions } from 'rollup-plugin-dot'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport dot from 'rollup-plugin-dot';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'iife',\n  },\n  plugins: [\n    dot({\n      include: ['**/*.dot'],\n      templateSettings: { strip: false },\n      defines: {\n        env: process.env.NODE_ENV || 'development',\n      },\n    }),\n  ],\n};","lang":"javascript","description":"Shows basic rollup-plugin-dot setup with include pattern, template settings, and defines.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}