{"_id":"rollup-plugin-html","_rev":"7-098024d3363d22721147333f94763d93","name":"rollup-plugin-html","description":"HTML import plugin for rollup","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"name":"rollup-plugin-html","version":"0.0.1","description":"HTML import plugin for rollup","main":"dist/rollup-plugin-html.js","jsnext:main":"dist/rollup-plugin-html.mjs","files":["dist"],"dependencies":{"html-minifier":"^3.0.2","rollup-pluginutils":"^1.5.0"},"devDependencies":{"buble":"^0.10.6","mocha":"^2.5.3","rollup":"^0.31.0","rollup-plugin-buble":"^0.10.0"},"scripts":{"build":"rollup -c","pretest":"npm run build","test":"mocha test/*.js --compilers js:buble/register","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/bdadam/rollup-plugin-html.git"},"keywords":["rollup-plugin","html","template"],"author":{"name":"Adam Beres-Deak","email":"me@bdadam.com"},"license":"MIT","bugs":{"url":"https://github.com/bdadam/rollup-plugin-html/issues"},"homepage":"https://github.com/bdadam/rollup-plugin-html","gitHead":"3f2315b7fda8f865060e6e88a670f961601fab13","_id":"rollup-plugin-html@0.0.1","_shasum":"98a7be39ebdf0a4d24fef49d71bfcf6c8807b3a5","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"bdadam","email":"me@bdadam.com"},"dist":{"shasum":"98a7be39ebdf0a4d24fef49d71bfcf6c8807b3a5","tarball":"https://registry.npmjs.org/rollup-plugin-html/-/rollup-plugin-html-0.0.1.tgz","integrity":"sha512-lXHHJ9V/HXtWiRsNE/XHshPjC2PEXUGaEZe0ZP7EJQBsRHCq7qjbTwIn4qOQVIjhLroZK4q2/ceUQcfjePpHew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICoXCHGtGE5tAhkd0Nc+9hLiZmMv7FxPpQeRaEyZ60EZAiA93Opq2RqtZj1Fs11ZewR9xXFlcZsMgi5eT4lztd91+Q=="}]},"maintainers":[{"name":"bdadam","email":"me@bdadam.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-html-0.0.1.tgz_1472380064159_0.3197153613436967"}},"0.0.2":{"name":"rollup-plugin-html","version":"0.0.2","description":"HTML import plugin for rollup","main":"dist/rollup-plugin-html.js","jsnext:main":"dist/rollup-plugin-html.mjs","files":["dist"],"dependencies":{"html-minifier":"^3.0.2","rollup-pluginutils":"^1.5.0"},"devDependencies":{"buble":"^0.10.6","mocha":"^2.5.3","rollup":"^0.31.0","rollup-plugin-buble":"^0.10.0"},"scripts":{"build":"rollup -c","pretest":"npm run build","test":"mocha test/*.js --compilers js:buble/register","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/bdadam/rollup-plugin-html.git"},"keywords":["rollup-plugin","html","template"],"author":{"name":"Adam Beres-Deak","email":"me@bdadam.com"},"license":"MIT","bugs":{"url":"https://github.com/bdadam/rollup-plugin-html/issues"},"homepage":"https://github.com/bdadam/rollup-plugin-html","gitHead":"eb84b369273e5448eb0dfe57b61bcb701c1b5d8f","_id":"rollup-plugin-html@0.0.2","_shasum":"7f4350801627671c36c7f517fa7831d9b3fafb18","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"bdadam","email":"me@bdadam.com"},"dist":{"shasum":"7f4350801627671c36c7f517fa7831d9b3fafb18","tarball":"https://registry.npmjs.org/rollup-plugin-html/-/rollup-plugin-html-0.0.2.tgz","integrity":"sha512-Ks3Ajfs2QHx0B2zhVM1QD/3i0+w/NMYTK5GmYSoAT+f7hE+tdHWq0nJyQNkvfvTw9NsjLovJsQwzaI0LG+CmXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDSoaKfFEn97AyU9LostP5qdFSKohJaNVro4vQiyupdVAiEAhck9Lkbc09MD6rNMURTiJddC8xjDVtxJNAm7NG7hOfk="}]},"maintainers":[{"name":"bdadam","email":"me@bdadam.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-html-0.0.2.tgz_1472380886548_0.29607601347379386"}},"0.0.5":{"name":"rollup-plugin-html","version":"0.0.5","description":"HTML import plugin for rollup","main":"dist/rollup-plugin-html.js","jsnext:main":"dist/rollup-plugin-html.mjs","files":["dist"],"dependencies":{"html-minifier":"^3.0.2","rollup-pluginutils":"^1.5.0"},"devDependencies":{"buble":"^0.10.6","mocha":"^2.5.3","rollup":"^0.31.2","rollup-plugin-buble":"^0.10.0"},"scripts":{"build":"rollup -c","pretest":"npm run build","test":"mocha test/*.js --compilers js:buble/register","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/bdadam/rollup-plugin-html.git"},"keywords":["rollup","rollup-plugin","html"],"author":{"name":"Adam Beres-Deak","email":"me@bdadam.com"},"license":"MIT","bugs":{"url":"https://github.com/bdadam/rollup-plugin-html/issues"},"homepage":"https://github.com/bdadam/rollup-plugin-html","gitHead":"2dace3dcec525ea0d7c6c88006a03b0e9bd42667","_id":"rollup-plugin-html@0.0.5","_shasum":"61f7878ebeebd8fdf1598a62f8e802eb774605ee","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"bdadam","email":"me@bdadam.com"},"dist":{"shasum":"61f7878ebeebd8fdf1598a62f8e802eb774605ee","tarball":"https://registry.npmjs.org/rollup-plugin-html/-/rollup-plugin-html-0.0.5.tgz","integrity":"sha512-pPS4l8dZ5T5pKA78YWIb/uUlVmkj0qo79Ht4t3gr/oSPBVBjWqN94bw+2ngRZ8l4CMqByv3M/bxSrnVGcuuxEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH5+WnUFvHKhl63T349M2ich2WRxjbbzR4YJ7PUfOcD5AiEA0lFy+/LAxoVxAwqHHMEdGQFPZ8mTnzjLSD4jHB8jv/c="}]},"maintainers":[{"name":"bdadam","email":"me@bdadam.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-html-0.0.5.tgz_1472387692214_0.7410357201006263"}},"0.2.0":{"name":"rollup-plugin-html","version":"0.2.0","description":"HTML import plugin for rollup","main":"dist/rollup-plugin-html.js","jsnext:main":"dist/rollup-plugin-html.mjs","files":["dist"],"dependencies":{"html-minifier":"^3.0.2","rollup-pluginutils":"^1.5.0"},"devDependencies":{"buble":"^0.10.6","mocha":"^2.5.3","rollup":"^0.31.2","rollup-plugin-buble":"^0.10.0"},"scripts":{"build":"rollup -c","pretest":"npm run build","test":"mocha test/*.js --compilers js:buble/register","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/bdadam/rollup-plugin-html.git"},"keywords":["rollup","rollup-plugin","html"],"author":{"name":"Adam Beres-Deak","email":"me@bdadam.com"},"license":"MIT","bugs":{"url":"https://github.com/bdadam/rollup-plugin-html/issues"},"homepage":"https://github.com/bdadam/rollup-plugin-html","gitHead":"9821b2dce70294ab4a19f4fbaaa38bdf66fd9ae8","_id":"rollup-plugin-html@0.2.0","_shasum":"0d337faaa2fb2ebb516d87cb0fbd335bc01019f4","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"bdadam","email":"me@bdadam.com"},"dist":{"shasum":"0d337faaa2fb2ebb516d87cb0fbd335bc01019f4","tarball":"https://registry.npmjs.org/rollup-plugin-html/-/rollup-plugin-html-0.2.0.tgz","integrity":"sha512-w/RcBMYuS5csUo1R8TTMFYR27NJcbhWjcfvm847WjUHF1I1VY0PVzpLtX8myBlJhFqUWT2/aZ0/zwrz+LReApg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5/3PlEG5HbxM1H3KBKTdsQ3YCojoAkIotFOQMyGWDeQIgLhXmFayZCUCeOeEBNqCOSkaQp8FqK6kGTcXwATR2rdI="}]},"maintainers":[{"name":"bdadam","email":"me@bdadam.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-html-0.2.0.tgz_1472395271726_0.4707183260470629"}},"0.2.1":{"name":"rollup-plugin-html","version":"0.2.1","description":"HTML import plugin for rollup","main":"dist/rollup-plugin-html.js","jsnext:main":"dist/rollup-plugin-html.mjs","files":["dist"],"dependencies":{"html-minifier":"^3.0.2","rollup-pluginutils":"^1.5.0"},"devDependencies":{"buble":"^0.10.6","mocha":"^2.5.3","rollup":"^0.31.2","rollup-plugin-buble":"^0.10.0"},"scripts":{"build":"rollup -c","pretest":"npm run build","test":"mocha test/*.js --compilers js:buble/register","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/bdadam/rollup-plugin-html.git"},"keywords":["rollup","rollup-plugin","html"],"author":{"name":"Adam Beres-Deak","email":"me@bdadam.com"},"license":"MIT","bugs":{"url":"https://github.com/bdadam/rollup-plugin-html/issues"},"homepage":"https://github.com/bdadam/rollup-plugin-html","gitHead":"03ff7a27cf08340cbe2a4222b00a59b19ea0192b","_id":"rollup-plugin-html@0.2.1","_shasum":"a1862eca87ae54b677689d0d4133911e8226463d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"bdadam","email":"me@bdadam.com"},"dist":{"shasum":"a1862eca87ae54b677689d0d4133911e8226463d","tarball":"https://registry.npmjs.org/rollup-plugin-html/-/rollup-plugin-html-0.2.1.tgz","integrity":"sha512-qnyToGUAjjG69+M+KitUsHnfnLjpjtZdO3nIP0LN50KG/r6zEoBq/pfneAwWkxY/z13zM5aFFXSBY6+6M7bvUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID5IuO0PliuRCxJU2sq9X47pEmEsZq/Img19GTM9ZmiPAiEAinWFF66bk/5uBt42scbyCR7Y6PrUDY21OeO+Ke1jRVs="}]},"maintainers":[{"name":"bdadam","email":"me@bdadam.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-html-0.2.1.tgz_1472556109211_0.8001239998266101"}}},"readme":"# rollup-plugin-html [![Build Status](https://travis-ci.org/bdadam/rollup-plugin-html.svg)](https://travis-ci.org/bdadam/rollup-plugin-html)\n\nRollup plugin for loading content of HTML files to use as string variable in JavaScript code.\n\n## Installation\n\n```bash\nnpm install --save-dev rollup-plugin-html\n```\n\n\n## Usage\n\n```js\nimport { rollup } from 'rollup';\nimport html from 'rollup-plugin-html';\n\nrollup({\n\tentry: 'main.js',\n\tplugins: [\n\t\thtml({\n\t\t\tinclude: '**/*.html'\n\t\t})\n\t]\n}).then(...)\n```\n\n## Options\n\n### include\n\nType: `array` or `string`  \nDefault: `**/*.html`\n\nA single file pattern, or an array of file patterns to include when importing html files. For more details see [rollup-pluginutils](https://github.com/rollup/rollup-pluginutils#createfilter).\n\n### exclude\n\nType: `array` or `string`  \nDefault: `undefined`\n\nA single file pattern, or an array of file patterns to exclude when importing html files. For more details see [rollup-pluginutils](https://github.com/rollup/rollup-pluginutils#createfilter).\n\n### htmlMinifierOptions\n\nType: `Object`\nDefault: `{}`\n\nThe options which are given to [html-minifier](https://github.com/kangax/html-minifier#options-quick-reference)\n\nE.g.:\n```JavaScript\nrollup({\n\tentry: 'main.js',\n\tplugins: [\n\t\thtml({\n\t\t\tinclude: '**/*.html',\n\t\t\thtmlMinifierOptions: {\n\t\t\t\tcollapseWhitespace: true,\n\t\t\t\tcollapseBooleanAttributes: true,\n\t\t\t\tconservativeCollapse: true,\n\t\t\t\tminifyJS: true\n\t\t\t}\n\t\t})\n\t]\n}).then(...)\n```\n\n## License\n\nMIT\n\n## Credits\n\nThanks for Bogdan Chadkin (@TrySound) for his [rollup-plugin-string](https://github.com/TrySound/rollup-plugin-string) rollup plugin which I used as the basis for this plugin.\n","maintainers":[{"name":"bdadam","email":"me@bdadam.com"}],"time":{"modified":"2022-06-26T13:59:23.532Z","created":"2016-08-28T10:27:46.184Z","0.0.1":"2016-08-28T10:27:46.184Z","0.0.2":"2016-08-28T10:41:27.602Z","0.0.5":"2016-08-28T12:34:54.186Z","0.2.0":"2016-08-28T14:41:13.696Z","0.2.1":"2016-08-30T11:21:51.028Z"},"homepage":"https://github.com/bdadam/rollup-plugin-html","keywords":["rollup","rollup-plugin","html"],"repository":{"type":"git","url":"git+https://github.com/bdadam/rollup-plugin-html.git"},"author":{"name":"Adam Beres-Deak","email":"me@bdadam.com"},"bugs":{"url":"https://github.com/bdadam/rollup-plugin-html/issues"},"license":"MIT","readmeFilename":"README.md"}