{"library":"rollup-plugin-template","title":"rollup-plugin-template","description":"A Rollup plugin that allows importing HTML files as template strings. Version 1.0.10 is the latest stable release; the package has not seen updates since 2018. It differentiates from other HTML handling plugins by focusing purely on importing raw HTML content without transformation, for use in templating engines or string manipulation. Suitable for projects that need to embed HTML templates directly into JavaScript bundles. No active maintenance or known issues.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-template"],"cli":null},"imports":["import template from 'rollup-plugin-template'","import template from 'rollup-plugin-template'","template({ include: '*.html' })"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport template from 'rollup-plugin-template';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'iife'\n  },\n  plugins: [\n    template({\n      include: 'src/templates/**/*.html'\n    })\n  ]\n};","lang":"javascript","description":"Configures Rollup to import HTML files as template strings using the glob pattern 'src/templates/**/*.html'.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}