{"_id":"@bundles/bundles-output","_rev":"14-dfaf640e17e04fb6c9f16409cedff465","name":"@bundles/bundles-output","dist-tags":{"dev":"0.2.1","latest":"0.2.1"},"versions":{"0.0.1":{"name":"@bundles/bundles-output","version":"0.0.1","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.min.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest","watch":"jest --watchAll"},"devDependencies":{"@brikcss/git-hooks":"^2.1.0","@node-minify/cli":"^4.1.0","@node-minify/uglify-es":"^4.0.5","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^23.6.0","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"0.0.5","fs-extra":"^7.0.1"},"gitHead":"72cb3f073292bd0dd74893903bc567af9abd91d0","_id":"@bundles/bundles-output@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-cAP0MJgrlPnAA4BbpnaC1qxqxsd8/v+UbdZRbOD19F1amqakvnv35a4zy9oEWoiseopgTcxW6e3c2I3EUm63JA==","shasum":"56c94205a5c4417c015f37ddc2af93ef745d9a17","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.0.1.tgz","fileCount":4,"unpackedSize":6955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTNXgCRA9TVsSAnZWagAATeAQAIxE+Y7KHFKXe8SUau2Q\n0eDRROUinN80zDuJ9qGCZIk8xDqUqK8e5iOIVpvsxaFQkBxSpi7vC4dNAQBj\nqhKFqIwLb5QXOYa8qLW5hbUutEYM0QLsDrgtlQtzBy2Ql++sr89zG5N1f9MD\n9jh+lE3vObWhL3dXB0TjE6RJx0pdZW23eSdiUvtyEyBB5JdJtspun/wu9NRA\nSGwWo3067vrx+frpcwb5pczWe1VnL6R8tpzHtFBIlLcEU1f85cIR/aXE3ZyF\nsoHecSjQkyiG/XEoOacBlBFmWNGlthl3lLNo9967csdsZ6cfCYDBAbUzO1TS\n4fpL9RqzRVCWxxQRkmQToPTAB8ya4hH75tOYHZHSlbJta0UUotdHFOcGMVzS\nRZidjQ8GPN8eu1AssrRPu9urC8W2z341P9ppT2gGPlzT9scZqf3naaAShCkv\nJnsU7vEOUbh+cugm7oVZ8ViXVUt8YnUt0m5i9ao4Wote9bDYGfaiHVHKCKbw\n7JUp41NROPgKX0stvCeKu87R/y04C79VMv4ui9ISd8pwbA9ypZuGZYB9r//p\nwWH99qgGVUhJSQbBv0nSrkM8IKmKhr/G+wujNmts+3fPauSJEmhS+atcPW6i\nWVBgHwo13ySoYf4DODCWzGD5dtMSzczo7f9lNPEsDxFyPiHzNMKV+zw0W76U\nqlxw\r\n=NhSz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTXsJjsSG2ZkUarMLNPJMPbhj6zCGnlrjkDOQvmlFY4wIgVeZ10yfaW1AAUfgcdT9xgVIznxyBGcPqDRQSgR7PHjs="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.0.1_1548539359603_0.12714975400574602"},"_hasShrinkwrap":false},"0.0.2":{"name":"@bundles/bundles-output","version":"0.0.2","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.min.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest","watch":"jest --watchAll"},"devDependencies":{"@brikcss/git-hooks":"^2.1.0","@node-minify/cli":"^4.1.0","@node-minify/uglify-es":"^4.0.5","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"0.0.5","fs-extra":"^7.0.1"},"gitHead":"03b70fce30f621e895a1c2f24877e9e18bd990bc","_id":"@bundles/bundles-output@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-McoERMuxy3i/Ybd1Bm7exUD3y/+FN/PUXR/TSNLQyaaAAXqYBnEL4xi5WX0GQzCoGmo+7KVKSSo/G9JGJf5aWg==","shasum":"e19fb888f3d6d4f2982f043089e50a70deef8ac2","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.0.2.tgz","fileCount":4,"unpackedSize":6955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTNkQCRA9TVsSAnZWagAA2McP/2xkZJrTK+o9Hs8/zuPb\n5sSr5toyMq6rbflh/vDKukcwMByfleaNmjJ0LNXl16hEfqyQNKV2+SkbjlrD\nKkRT1VymWLhLKpWPbHhX//szX1UsyZ37Gb54MSbdaeA+ekLJPZ88Nmrujcye\nJDKZi5/k+yhxNY5rBclp11SFsF//t3LTSBc50tWbyfgAvRaBDomhkosuKHfn\nBKPcBT2WApJsc1qr/lnFy2xwDuuVx/MI58Ecsc4uWvNUUBwpDfZWsMCFGncs\nroPvSbhWNxh4dDXQois0hRvG3T2KyQTGcFZU8wzclvC4ltFkzTn6pScaO2p0\nFwbQDQpPPhX2Ba6gJAV6Pqku+4EtNQFvdPKFXeDEezOgZfh3MxWMwJbsMZTu\nGle0HyY0rPlI5mURI5oNeb5Yn6G/lvsHq/eyWSl43RQ/QYR0/dXTaTQx5S9N\nS8QmCiFW1cWckUnxDnI28aYWW/fmqfBkUWLHwItkdbZ1z/02kiNLhel8UxB6\nAHPfaEiAxky5ynz9onWu0EN1ghWMbvZcLXsbaXo2pQ4gSPZ9UqfUfUIqYQHT\nn53GLPnHRSMg/+wIfBPdY0x6nwMmYF+Lb1Gmfg6KkYZKi4VjPBfALjmiDg6i\nJUkeERXBZ3eAI396XNljaDwNoV66f1wdue9fggJx9OdVptHdGDn84rIjMlBI\nQItZ\r\n=MwGC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDafvYJu+n6W9M5KOBTckOQ2MTIfZUwo1sxghaMiPISEAIhAIv7/x189wqzujECaRyg5hsqJ2ijrcBJF9jNDjeywZEt"}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.0.2_1548540175851_0.8796157178412443"},"_hasShrinkwrap":false},"0.0.3":{"name":"@bundles/bundles-output","version":"0.0.3","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.min.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest","watch":"jest --watchAll"},"devDependencies":{"@brikcss/git-hooks":"^2.1.0","@node-minify/cli":"^4.1.0","@node-minify/uglify-es":"^4.0.5","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"0.0.5","fs-extra":"^7.0.1"},"gitHead":"64d2eb70d3d2e5bd7ceaa3431fe5a996f1b5f6b6","readme":"# Bundles Output Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-output/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-output?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-output/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-output.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core). `bundles-output` outputs the data and content compiled by Bundles to disk.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     x     |    x    |  x  |\n\n## Install\n\n```sh\nnpm install @bundles/core @bundles/bundles-output -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for how to configure Bundles and bundlers.\n\n### Configuration\n\n**IMPORTANT: Unless you know what you're doing, `bundles-output` should be the last bundler in the `config.bundlers` Array, since it should typically run after all other bundlers have run.**\n\nThe following properties are available in `bundler.options`:\n\n- **`to`** _{String|Function}_ _(required)_ Directory to output compiled data to. Can be a callback Function which returns a String.\n- **`root`** _{String}_ _(process.cwd())_ Root directory for source input paths. For example, settings of `{ to: 'output', root: 'my/dir' }` with a source input of `['my/dir/one.md', 'my/dir/subdir/two.md']` will output files to `output/one.md` and `output/subdir/two.md`.\n- **`fs`** Options passed to [fs-extra's `outputFile` method](https://github.com/jprichardson/node-fs-extra), which are the same options passed to [node fs's `writeFile` method](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback). This, for example, gives user control over whether existing files are overwritten.\n","readmeFilename":"README.md","_id":"@bundles/bundles-output@0.0.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-fws/u6nZOiYmBVrPAVR3PJbk6DAx01WwTUoQHFyTLJyiAnPoad/LkeukmiVwa6B1mzacKYN8PJHmnDO5thIKOA==","shasum":"a2bc1b3e4e0914ad365815db32ff1a3d68a9c9f3","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.0.3.tgz","fileCount":4,"unpackedSize":6965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT5UcCRA9TVsSAnZWagAAE0MP/iXUmZGU2Y/yB0aOPQpq\nojBgRYiwGHdVjC7lrlFXijiFNKF3FcrXn6xGgSqQ9HHx1HrSF83Ffndl/i7k\nLQt8UlX5YFd58JRw4lvn6L6bT46z4RxMYQMnCeWR37JpBlGXCIpJwmuMoTuZ\n0TJXIKelvJSmnT81ryo9FUJmlG6HlsO8dP/mdvZ0vdJHKYcFOTqMUepHEmnw\nn/0fSDs74WZoSa4UymxqQKf1AQ5HjE9CZlTwXJyiE89ygnPCScCINygWzMlb\nYiLNp2NI1Pa5SYZAnheOsn4iduL9JpVPYQbJjeUDxnZ8lyp3hdKUKpuvG6Ea\n3gsYIv61qJLuIZfGS48JsMh3w/2Am1ljj293q1NrCUQLfgdF9JzJmziPJIA5\n+r9VKNsVVn07LWdDCiYA42cE7iT7KflD4wiTY556R7Nmti3/LPOpoKTieOB5\nixWoODYVFCisGvzY/1MlOFxjxFZzEY33vbyLAp5BH4POWVsTWXga49YE4Tlh\nVfOh88lwCogY2owHzXwBOBfrmftaWwJtpgT3RwtcbVbnuTeej7IaRLSQ6Wc3\n/+3f06z5b5lCVffWNjDmmDu6H8TaCzqE8OYAOw8RY08e+7yz7ZZlJFp+VfeU\n76ThM+T2CWgAhTXYSlBrLEjObJ7rrceAyMU3b8javqJacy/tow2CGj3CAvCk\neVrl\r\n=wPw2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3T/ibOWSo9aUX47LQ0QQK5bNHuTiB1zZDBVabMMP4qAiEAr21t1MkfYvXtebhmC7jrjzHz3GQ0+545d7fX0IHXuRU="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.0.3_1548719388093_0.011254996108563953"},"_hasShrinkwrap":false},"0.0.4":{"name":"@bundles/bundles-output","version":"0.0.4","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.js","module":"./module/bundles-output.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"npx rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"npx concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.3.1","@brikcss/git-hooks":"^2.1.0","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^4.0.4","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"^0.3.0","fs-extra":"^7.0.1"},"gitHead":"b3366ed599cd96b891d202766ed5ebf5659170d1","readme":"# Bundles Output Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-output/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-output?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-output/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-output.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core). `bundles-output` outputs the data and content compiled by Bundles to disk.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles core is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-output -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles.\n\n### Configuration\n\n**IMPORTANT: Unless you know what you're doing, `bundles-output` should be the last bundler in the `config.bundlers` Array, since it should typically run after all other bundlers have run.**\n\nThe following properties are available in `bundler.options`:\n\n- **`to`** _{String|Function}_ _(required)_ Directory to output compiled data to. Can be a callback Function which returns a String.\n- **`root`** _{String}_ _(process.cwd())_ Root directory for source input paths. For example, settings of `{ to: 'output', root: 'my/dir' }` with a source input of `['my/dir/one.md', 'my/dir/subdir/two.md']` will output files to `output/one.md` and `output/subdir/two.md`.\n- **`fs`** Options passed to [fs-extra's `outputFile` method](https://github.com/jprichardson/node-fs-extra), which are the same options passed to [node fs's `writeFile` method](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback). This, for example, gives user control over whether existing files are overwritten.\n\n### Example\n\n```js\n// Outputs `src/my/file.md` to `my/dir/my/file.md`.\nconst bundle = {\n  input: 'src/my/file.md',\n  bundlers: [\n    {\n      to: 'my/dir',\n      root: 'src',\n    },\n  ],\n};\n```\n","readmeFilename":"README.md","_id":"@bundles/bundles-output@0.0.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-tewWOKtOXAVnknRlJ9BXAAnPUvrC0W/mGm/uGC5uM4JHS98iP2i7moNMGwd9GVBZKm/uxE19UntDdZgcz2OKEw==","shasum":"6bfd726d587637428e1a62fd072a72f5b9778849","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.0.4.tgz","fileCount":4,"unpackedSize":7002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW16SCRA9TVsSAnZWagAA5iwP/2NZiImtOSrpLL6D1qYp\nwn/ng3CcZXmgWmrdxIPT3N/VygNI+mWYyMv6jAIni1yKedONg6xywi4ZM8oY\nMcHE1ydnAiUMcBDmJfVTgC4AWb8qIPLH9YX/l6JbheZI/B9If24EngqMV914\nBUe6nq4jjCTqYUE6RiSAAA+6sUIoDyLH1gtywwg549n8Q9DBPqAbBv+2S9pb\nAwTL7f1bV6corQfhnNSgdzQwFNoxcWNeI1Uvlm6vmBk87QGPeBn8vYTzGvb9\nk2Sal1vWHAX9xF2JMcBk3FiZMHhiulnna3C9IqSiknK4u+xWKJTXwoLUhHJd\n1imUpaJfwJquSdaAXjA8MNw/EohQ9TP4z9Qx7IbnW/i0vvye/zXbnT6rsYAQ\nORX/YzasMfi5DCnXyVz6D0kGgrGEyNnwa95NpTu84Rca/hp6EwJQnClvoh9x\n0inVwifnJlnzT357tYc5KE0Q0YV77ZaT0jv8NQHhzDQf0UWBKB8NvuU9h7yW\nZwB7Ll8nmuoplTy5fDzhC0i8idI7bZQMsCwowetnH10tOYzH85VnKyXcKFnG\nENcWTUrWbNwK9P5mj3eIMdl9zBGFdmGXrNt7yocZTcjxUo2UMwcwRufXxr5V\nQGYQNgXI979hOhTfLGqN1zpNFNSSN2E5NjzGza6QSTPw06wuEiMLkXRHh9u5\nSoLx\r\n=GLul\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEVkatig93U5+JXgTawKhT9LFL9/BVHUMjHa14jXEJxDAiAoNs4oO9vWeeHtIWOV7wynEo3R+5ZS/psxT4FMdwaIZw=="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.0.4_1549491857666_0.8152408347455073"},"_hasShrinkwrap":false},"0.1.0":{"name":"@bundles/bundles-output","version":"0.1.0","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.js","module":"./module/bundles-output.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"npx rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"npx concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.3.1","@brikcss/git-hooks":"^2.1.0","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^4.0.4","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"^0.3.0","fs-extra":"^7.0.1"},"gitHead":"3727f53556c18ff4a5b6bf0f7f7f63a46394ddd4","readme":"# Bundles Output Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-output/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-output?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-output/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-output.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core). `bundles-output` outputs the data and content compiled by Bundles to disk.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles core is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-output -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles.\n\n### Configuration\n\n**IMPORTANT: Unless you know what you're doing, `bundles-output` should be the last bundler in the `config.bundlers` Array, since it should typically run after all other bundlers have run.**\n\nThe following properties are available in `bundler.options`:\n\n- **`to`** _{String|Function}_ _(required)_ Directory to output compiled data to. Can be a callback Function which returns a String.\n- **`root`** _{String}_ _(process.cwd())_ Root directory for source input paths. For example, settings of `{ to: 'output', root: 'my/dir' }` with a source input of `['my/dir/one.md', 'my/dir/subdir/two.md']` will output files to `output/one.md` and `output/subdir/two.md`.\n- **`fs`** Options passed to [fs-extra's `outputFile` method](https://github.com/jprichardson/node-fs-extra), which are the same options passed to [node fs's `writeFile` method](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback). This, for example, gives user control over whether existing files are overwritten.\n\n### Example\n\n```js\n// Outputs `src/my/file.md` to `my/dir/my/file.md`.\nconst bundle = {\n  input: 'src/my/file.md',\n  bundlers: [\n    {\n      to: 'my/dir',\n      root: 'src',\n    },\n  ],\n};\n```\n","readmeFilename":"README.md","_id":"@bundles/bundles-output@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-NWOt8zJxhLgatN5JG/HVDK6wEFBjvqdTNBFotFPLTG0U9e1ARdMarmsJoFyCLnQvI45JgFOeZqDbHAB/gMRfVg==","shasum":"e0cb5b739553c80aa41ed45601bfcb3cfeb3c6ca","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.1.0.tgz","fileCount":4,"unpackedSize":7042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciSzICRA9TVsSAnZWagAAyfkP/ickp4wMdYdnQ6+O4ftB\nh+feuP9Dezf8g9Y8iay3uAUlLTEV1G+Lm043HxykjxUn0W8DZqe2NB0+Jps1\ncZJ2/o+uoHUzEk6mvYFI5eSZQM4++F20kdDFyXZTvAMo3lzuBXvlpB1Em8OX\n4Xg5pRnIIPn4tX5HabEN5syr9Vy3IkRriTNdCuYi0zxca2rppb1i9ROFOyMe\nchMfhI0aqejbicgGoedqRdTia4rzTwc1dxZD9Wz01Lz9PPv6tTRMkZMJFxEH\nNGVM50UedEHQjbJHdIpPHiP4aHvLEQ8dYJJ/L4KRcNeRpxbdpyJJXjqO+8Wr\nCTiZJYEkYHnitNXfaRKsswbJ9jCHKpsLqCEXo41pLtvXY2lO4ZdnG30sVy+m\npnEPdblzj1qUq30DPCqf0d4TYZrizwhX6aoh1zlkQAnp4q3zSM37FoiOQIJ2\noU/6YK8FI60Bu5erjNONQdIPz73y/COkLivSuUQgnzFNZqnjFEX87jYSIexn\nzezVZ0VHAlpy5wNW0UjKMndjKM2kt6qHjorRwHdmpjgaLsjT55b8YtvvSdky\nVyN4MNybolZBhU6FFivH5m0p0XD+LxXzeVqDE7ekJqRuLKDn6UbCSxXuY+fN\n1xn/FCPYObmOGCsbJCAXBhM1nXopLU58ZtYCUh5kDXqhuaczX69vJdZHSFTK\nNzxG\r\n=bgfc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBM1X2n/t7EDhZ6HSk82DJYHiDKS7Pul+k/BeURcu0GfAiEA2cBzAqMqF52Nsw0kl4YBCTLuph3J8DARWb4DHg5R52w="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.1.0_1552493767452_0.3788075003764022"},"_hasShrinkwrap":false},"0.1.1":{"name":"@bundles/bundles-output","version":"0.1.1","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.js","module":"./module/bundles-output.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"npx rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"npx concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.3.1","@brikcss/git-hooks":"^2.1.0","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^4.0.4","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"^0.3.0","fs-extra":"^7.0.1"},"gitHead":"c614d317cc5f17bf9ad927fff5c19514be82fbd6","readme":"# Bundles Output Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-output/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-output?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-output/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-output.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core). `bundles-output` outputs the data and content compiled by Bundles to disk.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles core is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-output -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles.\n\n### Configuration\n\n**IMPORTANT: Unless you know what you're doing, `bundles-output` should be the last bundler in the `config.bundlers` Array, since it should typically run after all other bundlers have run.**\n\nThe following properties are available in `bundler.options`:\n\n- **`to`** _{String|Function}_ _(required)_ Directory to output compiled data to. Can be a callback Function which returns a String. If return value is falsy, or is not a String, the file will not be output.\n- **`root`** _{String}_ _(process.cwd())_ Root directory for source input paths. For example, settings of `{ to: 'output', root: 'my/dir' }` with a source input of `['my/dir/one.md', 'my/dir/subdir/two.md']` will output files to `output/one.md` and `output/subdir/two.md`.\n- **`fs`** Options passed to [fs-extra's `outputFile` method](https://github.com/jprichardson/node-fs-extra), which are the same options passed to [node fs's `writeFile` method](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback). This, for example, gives user control over whether existing files are overwritten. _Note: The `encoding` option is automatically set based on whether the file type is text/utf8 or binary._\n\n### Example\n\n```js\n// Outputs `src/my/file.md` to `my/dir/my/file.md`.\nconst bundle = {\n  input: 'src/my/file.md',\n  bundlers: [\n    {\n      run: '@bundles/bundles-output',\n      options: {\n        to: 'my/dir',\n        root: 'src',\n      },\n    },\n  ],\n};\n```\n","readmeFilename":"README.md","_id":"@bundles/bundles-output@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-wXn1Xc0kN9irzjiqnrRVElWbEV2cFTVpuFxslaNVFPvzn259JZP4slfniS7+fFcBCZUeC+597FyJsRNtGC7Eog==","shasum":"1ca513cee65d96c11c48844701c75f45fd163c46","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.1.1.tgz","fileCount":4,"unpackedSize":7421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwheSCRA9TVsSAnZWagAAmgcQAILrgxciGuXgLx9gD407\n0vk9xAQw87I84TpqKyU8p9PYUFccCC6ruRZr/YVYFB2e/njNnISjmDq8uZMY\nexEngfYgBxFx7d0lj3zt3nSaaoFcBvjZOlgtVwlxniHT0VHT/EkY8R1fCkch\nRNc6W/xEvsnbbVHuXT73xrKHCL5yxPlBzxv0u7vSKHwQ3y3OBZ9MuJuGaJVC\nol+BTPm23aWL9zaGZ6Cco6FKhb88jqgOXN5vJZuQd5ED7bPdk8a9XmR8WJiQ\n+oGBZ93u/U5wTAhfIFj1HXDkYrmp5ocdB/M10DItqXtbfNT8oN72CHhSCGR6\nXsoYVgdT5Di5UxlOA6rmjU4vGYGEZKJuL9d5QHPwIzOUm9Tv5bp8sT/NI/q8\nZYaQbTDFLzbza7q6FTsJw0i+UnC3gYMSzHAUiZd0DarfCZ0HBTo82pEaLgCK\nfjtsxjk4f1T3S1N3MClmH9Dpdfp7lLLwcQGh29/CBzGdbfpyXO87eZKFMUes\n7eruHfiHXz+bwWrItKcBXMnX64HUXMsrr55pGkX8yfkBVwm9uP9XVaVze1ac\ny79RgF3SSjQ5A3EBfNQR8wQjZ5Rq3elmGeCw+8jGimIdLG6ENhhij9kREpRp\nXlPO69oiWAzfmMb1tI+S1Q12iQiGLxM6M15aiAHV0jzkqWx3HvOMeOJYJ/c5\nIzpD\r\n=wFpp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSX3RKF68kVehcSGO9hGK1guduA5RwtB7G/ZR6+eiqcQIgdnpXGSwF37w0bgoSSggp4MTZo6KQPBjsNnBwm3Lj8x4="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.1.1_1556223889425_0.2009900817540562"},"_hasShrinkwrap":false},"0.1.2":{"name":"@bundles/bundles-output","version":"0.1.2","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.js","module":"./module/bundles-output.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"npx rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"npx concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.3.1","@brikcss/git-hooks":"^2.1.0","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^4.0.4","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"^0.3.0","fs-extra":"^7.0.1"},"gitHead":"8e41d3b6b69420018021521bbce9405fa412345e","readme":"# Bundles Output Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-output/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-output?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-output/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-output.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core). `bundles-output` outputs the data and content compiled by Bundles to disk.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles core is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-output -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles.\n\n### Configuration\n\n**IMPORTANT: Unless you know what you're doing, `bundles-output` should be the last bundler in the `config.bundlers` Array, since it should typically run after all other bundlers have run.**\n\nThe following properties are available in `bundler.options`:\n\n- **`to`** _{String|Function}_ _(required)_ Directory to output compiled data to. Can be a callback Function which returns a String. If return value is falsy, or is not a String, the file will not be output.\n- **`root`** _{String}_ _(process.cwd())_ Root directory for source input paths. For example, settings of `{ to: 'output', root: 'my/dir' }` with a source input of `['my/dir/one.md', 'my/dir/subdir/two.md']` will output files to `output/one.md` and `output/subdir/two.md`.\n- **`fs`** Options passed to [fs-extra's `outputFile` method](https://github.com/jprichardson/node-fs-extra), which are the same options passed to [node fs's `writeFile` method](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback). This, for example, gives user control over whether existing files are overwritten. _Note: The `encoding` option is automatically set based on whether the file type is text/utf8 or binary._\n\n### Example\n\n```js\n// Outputs `src/my/file.md` to `my/dir/my/file.md`.\nconst bundle = {\n  input: 'src/my/file.md',\n  bundlers: [\n    {\n      run: '@bundles/bundles-output',\n      options: {\n        to: 'my/dir',\n        root: 'src',\n      },\n    },\n  ],\n};\n```\n","readmeFilename":"README.md","_id":"@bundles/bundles-output@0.1.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-Nuzdh0ZGlI1sOulgEIGH+BKvxlCm730Rll3jxgnq8JHm3gnHExBR/G0qLQr9RQDhNYVCoxpzQb7oE5yjvdKglw==","shasum":"ff53f8ce04f0f15e44ed32f4c7ddf371356890df","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.1.2.tgz","fileCount":4,"unpackedSize":7415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwhodCRA9TVsSAnZWagAA+NoQAJEvXfOltNlO9ptInhGV\nKblFh8iXNqCNKEY7mJ3hXodUFHbwCUblZr/D0TI+HcZPlNcu+dwCqClmxRpX\nSMZ6lT+pN9f+zffion/2eeHT2ItcMJ5F5H5kpB5qbUWwtf01CucU9se8drXm\nxG1Wda7nIJcK5stlxCDWJ931UeFZTjGCTm5KNSKLme/ve0+XTtaE/bzXexBM\nfthXh0w7ONBI4l8/l63TUtUA2sYxWieHC0duxht15OYaSiX+BjNUD6n1rxR3\nzS9DrxC+Wzc+0mqiKuyKhNAfJTxTnjHRpBl80tIAHY8oEmIQVmxc7pzs9GHL\nomZbMvhjaUsbhABR62UuWMXtR/d+uJ/gqtOugcppjI/f+QbocvofsGjoEK+D\nxxctn3ff7lUW9gGdxKQLgM2rUagGG8gRlYLVPx9kL5mTxYNqPHALp6VdbP3T\nq5Ypcl4e1+bAnKEmUb7CiMLeDfoycL6aPZN5CpxDVQtcrad1XYRxEejoFmw6\nqdq9Zm/iNhTMfeexmnygfoP9jztsFg0GxM0m9FOECdP3rQgw3U+jC+He5wrG\nQpJgghQIITDLSvovBffc/J9usHsnFgYK5G8ONrX5MyMPYSd5pl0BHJdksyn4\n9WEDcL1G6kaIHT8LMuDXe+WbdXfq0GdQwn9VxoCA7Tyn0c0vu8gSpzUAPIQ0\nrHmR\r\n=EUZ2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGXZIKTBMoH4scSPFCATwoTkXJc83WrYMRmUpJYIDgTfAiBtduakqrCTBnWse5uRTaypCTD20HpAzZmkseiEs3T18w=="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.1.2_1556224540468_0.4127901175703408"},"_hasShrinkwrap":false},"0.1.3":{"name":"@bundles/bundles-output","version":"0.1.3","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.js","module":"./module/bundles-output.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"npx rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"npx concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.3.1","@brikcss/git-hooks":"^2.1.0","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^4.0.4","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"^0.3.0","fs-extra":"^7.0.1"},"gitHead":"82a0f9b04244e4c12f67bb04c2f204decece641d","readme":"# Bundles Output Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-output/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-output?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-output/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-output.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core). `bundles-output` outputs the data and content compiled by Bundles to disk.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles core is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-output -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles.\n\n### Configuration\n\n**IMPORTANT: Unless you know what you're doing, `bundles-output` should be the last bundler in the `config.bundlers` Array, since it should typically run after all other bundlers have run.**\n\nThe following properties are available in `bundler.options`:\n\n- **`to`** _{String|Function}_ _(required)_ Directory to output compiled data to. Can be a callback Function which returns a String. If return value is falsy, or is not a String, the file will not be output.\n- **`root`** _{String}_ _(process.cwd())_ Root directory for source input paths. For example, settings of `{ to: 'output', root: 'my/dir' }` with a source input of `['my/dir/one.md', 'my/dir/subdir/two.md']` will output files to `output/one.md` and `output/subdir/two.md`.\n- **`fs`** Options passed to [fs-extra's `outputFile` method](https://github.com/jprichardson/node-fs-extra), which are the same options passed to [node fs's `writeFile` method](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback). This, for example, gives user control over whether existing files are overwritten. _Note: The `encoding` option is automatically set based on whether the file type is text/utf8 or binary._\n\n### Example\n\n```js\n// Outputs `src/my/file.md` to `my/dir/my/file.md`.\nconst bundle = {\n  input: 'src/my/file.md',\n  bundlers: [\n    {\n      run: '@bundles/bundles-output',\n      options: {\n        to: 'my/dir',\n        root: 'src',\n        changedOnly: true,\n      },\n    },\n  ],\n};\n```\n","readmeFilename":"README.md","_id":"@bundles/bundles-output@0.1.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-/B1cid3PoqUyu4pNghU39kmCTXxwGJunI1isBjsV0yKpCIvSGv3jEYJ+Ux9atz7CMObNVmvv8coqGMWzTPTMug==","shasum":"d94c0dc6e205c1203ec06a6952eb7907a55e22bb","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.1.3.tgz","fileCount":4,"unpackedSize":7560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyfS6CRA9TVsSAnZWagAAUToP/0sghrCF5BszwQ3Zhxs7\n/yKY+22WyDrpdtEaww2MoXBguHihjDySMFZQs1WvlOF95lwtWT2OYsI1yb23\nsbhZgwtTiHlCS/FeYrh/H7T5h9ldt+xoMl9aQ5RQNiQFqF0SzTMtm+BCD3mR\nCYlUCroO+pCpdhpALwDiywroVGvJmFuwIpCMU47WyOnYr/DLFEC6lcWf/j3f\nlZeEv+/vNmMMzY6hykRcBhnEZg0BLyMhOB3fxyY0ROlSgvQnjfz7njIhBfv0\nwp84eqnPJoXT9p26nPKy061mM+MYSNEcp09oQTM/2qbm/JCW4xES7AlD9LtK\nP7Aqf9KrTO7KhWJcU3hg87NucuyyiFL46GCP0dpAd3O+VBNT5C/CHt/tTXPU\nTzLtCLxAKVsEHJWXQmPQq0G4N3LwfGvMz5gc6kGxyeYzaDu2pOxdV6F/FSvF\nZDtvahhvRjPrSCjIllHZ1+74YpaGHi7o0HEeBulHRwPBM+TeyKA/Mlbky4dR\nyEmW/HjuZ+qKYeizafPHyCQDS2F/4kqv8bhmFdIzvpSpo+UdXPrXSWJQLiny\nk5DMgv0PgDBjxK7x7aJQznivldM5FADNg98wBKdWl9UcZNf25hY91owNuAc4\nU010qnON5LPRAhID1dUobJ6T2Xj5EKTvibPejHwPXc8T7XH27a/dpsWYkWGJ\nzorB\r\n=k14F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvz3qd4XbZA/5IwpcD2pCZKXWSLXozXJY32XEPPZLvjAiEAsN4vALTeZAAqY81swsRJuLLevJfApjpktpaJ4JFZTC0="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.1.3_1556739257834_0.6142095814596005"},"_hasShrinkwrap":false},"0.1.4":{"name":"@bundles/bundles-output","version":"0.1.4","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.js","module":"./module/bundles-output.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"npx rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"npx concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.3.1","@brikcss/git-hooks":"^2.1.0","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^4.0.4","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"^0.3.0","fs-extra":"^7.0.1"},"gitHead":"77361a75a66bd0b393a2f159e60c2c3ae702b8a3","readme":"# Bundles Output Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-output/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-output?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-output/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-output.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core). `bundles-output` outputs the data and content compiled by Bundles to disk.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles core is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-output -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles.\n\n### Configuration\n\n**IMPORTANT: Unless you know what you're doing, `bundles-output` should be the last bundler in the `config.bundlers` Array, since it should typically run after all other bundlers have run.**\n\nThe following properties are available in `bundler.options`:\n\n- **`to`** _{String|Function}_ _(required)_ Directory to output compiled data to. Can be a callback Function which returns a String. If return value is falsy, or is not a String, the file will not be output.\n- **`root`** _{String}_ _(process.cwd())_ Root directory for source input paths. For example, settings of `{ to: 'output', root: 'my/dir' }` with a source input of `['my/dir/one.md', 'my/dir/subdir/two.md']` will output files to `output/one.md` and `output/subdir/two.md`.\n- **`incremental`** \\{Boolean\\} _[true]_ When watching files, whether to utilize the incremental build feature (`true`) or always output all files (`false`).\n- **`fs`** Options passed to [fs-extra's `outputFile` method](https://github.com/jprichardson/node-fs-extra), which are the same options passed to [node fs's `writeFile` method](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback). This, for example, gives user control over whether existing files are overwritten. _Note: The `encoding` option is automatically set based on whether the file type is text/utf8 or binary._\n\n### Example\n\n```js\n// Outputs `src/my/file.md` to `my/dir/my/file.md`.\nconst bundle = {\n  input: 'src/my/file.md',\n  bundlers: [\n    {\n      run: '@bundles/bundles-output',\n      options: {\n        to: 'my/dir',\n        root: 'src',\n        incremental: true,\n      },\n    },\n  ],\n};\n```\n","readmeFilename":"README.md","_id":"@bundles/bundles-output@0.1.4","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-Soac3VPY+uWMyuRYzs9s8jb0SyEXJr6g2Xd1XIJ+klexYB0Vc3gowJVglOeHwP3d+jmBCfy7zhepW2KFZa7kfg==","shasum":"468c92349d9f7909c9b47937503e0f7aa7ec2d38","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.1.4.tgz","fileCount":4,"unpackedSize":7718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyhUjCRA9TVsSAnZWagAAHv8P/2iJWDlhe8gjXQktcPKH\nxGPYKF4s5q5ouecfV2y1joZeTwpsulwbYYFeRPAHd324RjgbSxM/3iEyjqEN\nIiPfGFuRUb8DVvpmcXKjqLw0ilenBRxpa+pQL6UGgc0UYzVmSp5CItvLtIZt\nJeTLfQYzAqkvrMSiuor9g01y8VicjtmOhymBQhss/zqGatDhj1+uE90evvL3\n7Q4hXT62Osw1X21aUEhXTyKKGg7yi1Zjv+/KlBqiRA4Knhv2Cjk08ZR/Sen1\nEMSXo9XdrCL86SdHs11PDNT9eetBmkmqqHKkY0SWf+14jn9aimisPgnUzWQ7\n1bncJ7Rxnla6BlDBzMKcA3kCnHzgj8pl6f+pzTi2WPZGiuuRoEN0H90sPIsZ\nTxNGc6JwMIB68nfkl59sNlVl/RuyLNPdr1Um+AyUNx5jU1EzaQYGQ5CUH8Re\nI8xwBgfPIFgfX+TSN6JOoPtscid7VN2Y22oG2iG2lrevscp73Vvt9hzqaIRo\nG7ofxvh9HT+lqsF1F8b2UDo9igCFRQ+hNjiY0C5UxDZvCJKd82cCuJxjMwMX\nTtpP8TjG1V0Cp7R+j408AplKmnX+nHyoojNRFRH4dZUSuo6XnZ+bQKKtJUIX\nNa90/ShfS/azK0FK2BU9wRpmaXyYqkJFmNBygWNL7Xeaj7+v4wCrP4XIhoTK\ngJyA\r\n=Cl1S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDepEY0QvkgdRYsV9iE7+z8iJMdYA35FuGwEoaz9AmytAiEAryYeRviyMWM1zgGuXr6MHjx94x20NThX7ZQyuLW2R7k="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.1.4_1556747554359_0.42668362685201955"},"_hasShrinkwrap":false},"0.2.0":{"name":"@bundles/bundles-output","version":"0.2.0","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.js","module":"./module/bundles-output.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"npx rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"npx concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.3.1","@brikcss/git-hooks":"^2.1.0","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^4.0.4","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"^0.3.0","fs-extra":"^7.0.1"},"gitHead":"e15c235698f30c6e427b6fb4ce349ed246039879","_id":"@bundles/bundles-output@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-c1MDeFAFPydN08X0RAtmCbqf2tvCqrs8okjBL82AIXig5xgho6rO5ODjixWJdKUwFcUgY/WJviMF7yLNTDLwfg==","shasum":"b7e64116ace5172cf34c4da7f2d6537d2aa6d61b","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.2.0.tgz","fileCount":4,"unpackedSize":8042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1JDcCRA9TVsSAnZWagAAl8MP/A79TLPvrx/r3Rcz9JMz\nYV8s5/F4uOQbFhp+Qvm6LvDoXwh7csVuH8xm9J2AuEwgyRIqJqD2RgP9occK\n/MfVojU1WsiBSJGsXLX8xx45Xno9sLeMCTq+qzAVzNUMEhRQa3Gq2+h9MeZ0\nOcKBO8o/kmiB7vF/1zGRhal2GCIcbuNCC8Az9O9Mp543fvhOfUTQguc4tONE\nmt6MuFSCRj3MBdlKdHGMEl47G+wyVKi7ozW0E+JWV0k0KJ2yYIDMr7/PY/vm\n7pAyrqtPZxgf2OOEZvvWh1CBBLehJgEIM7/FSdUNEJoTFJsAj51vJUm2pYxB\nwroHkUAwCi4eiATM/Y7mDEK2+4FcvGIibADcGy7eZUm30v6Eek3mntuqRwYO\nYDxKFQoEXWuNhgJEBwx6daG1CB/9ssxQjUyvhOBEpb9ny0v6ujgbldzt0VDO\n6xuDFZ9FW961Hs2FncejgAFeDW6KOMxbQ4t6YFFnc/r6a+6WOxbhG3Atdhp1\nfpEL2k8bYD7Tum1nA3MND5a8ahLDyLQ5AtItqnn3h2eb4FAMMA3G6joMwRva\nVHO8yIed5vaDCv4zu59ZwxZ3RatnOrtcdq13V64sh1AA1zILpE3OiLHoZlOV\nF3oBfKVw9wSkli5RRFcyFOmYuK1PEx8lwX8cnUyszEL5iPKPu9jPDWh8CCOM\nz+T3\r\n=Q9PU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFgD4TL0WW8aPknLYp5Yhfc05FwZS2mQTDBAzVyofcUCAiEAsrhdcSS/2F9+nJ9LjJj5vdohGukcqAKtE9HIIDCB1V0="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.2.0_1557434587640_0.34664381953382506"},"_hasShrinkwrap":false},"0.2.1":{"name":"@bundles/bundles-output","version":"0.2.1","description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","keywords":["brikcss","bundles","bundler","output"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-output","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"main":"./lib/bundles-output.js","module":"./module/bundles-output.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"npx rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"npx concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.6.3","@brikcss/git-hooks":"^3.0.1","codacy-coverage":"^3.4.0","coveralls":"^3.0.7","jest":"^24.9.0","rollup":"^1.25.2","rollup-plugin-babel":"^4.3.3","rollup-plugin-terser":"^5.1.2"},"dependencies":{"@bundles/core":"^0.9.4","fs-extra":"^8.1.0"},"gitHead":"20eb4e88646b1da05b002e5caddd6d84e1b19ec2","readme":"# Bundles Output Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-output/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-output?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-output/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-output.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core). `bundles-output` outputs the data and content compiled by Bundles to disk.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles core is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-output -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles.\n\n### Configuration\n\n**IMPORTANT: Unless you know what you're doing, `bundles-output` should be the last bundler in the `config.bundlers` Array, since it should typically run after all other bundlers have run.**\n\nThe following properties are available in `bundler.options`:\n\n- **`to`** _{String|Function}_ _(required)_ Directory to output compiled data to. Can be a callback Function which returns a String. If return value is falsy, or is not a String, the file will not be output.\n- **`root`** _{String}_ _(process.cwd())_ Root directory for source input paths. For example, settings of `{ to: 'output', root: 'my/dir' }` with a source input of `['my/dir/one.md', 'my/dir/subdir/two.md']` will output files to `output/one.md` and `output/subdir/two.md`.\n- **`incremental`** \\{Boolean\\} _[true]_ When watching files, whether to utilize the incremental build feature (`true`) or always output all files (`false`).\n- **`fs`** Options passed to [fs-extra's `outputFile` method](https://github.com/jprichardson/node-fs-extra), which are the same options passed to [node fs's `writeFile` method](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback). This, for example, gives user control over whether existing files are overwritten. _Note: The `encoding` option is automatically set based on whether the file type is text/utf8 or binary._\n\n### Example\n\n```js\n// Outputs `src/my/file.md` to `my/dir/my/file.md`.\nconst bundle = {\n  input: 'src/my/file.md',\n  bundlers: [\n    {\n      run: '@bundles/bundles-output',\n      options: {\n        to: 'my/dir',\n        root: 'src',\n        incremental: true,\n      },\n    },\n  ],\n};\n```\n","readmeFilename":"README.md","_id":"@bundles/bundles-output@0.2.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-rRQBzmpx+nWLYZEXtoT3jwBQQuoQkjowvskUHrtnF0GDQJhSK7K55vSbegXA+bDjqU/LZgGuO2gBEMHZPX31TQ==","shasum":"d703494892bbc318083b31b69d8d471b396ce4ba","tarball":"https://registry.npmjs.org/@bundles/bundles-output/-/bundles-output-0.2.1.tgz","fileCount":4,"unpackedSize":8134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsNkACRA9TVsSAnZWagAAP7oP/iqQijCWW/mFFmHiqM28\nT7Z7qNovQPQ5yZu7qkgqzG0s2m7gi+rTh3GuvLUlS/xm0OtygZ7gQT1KT701\njJVBAuLALLCTkPH08RCGxx9rIkOjK6z0AF3gWQ7dW8X5YBAzMljYl7fyjzO1\nKL/by5dq4881IDhw7YUprXc0Ivo6GGJ79w21RFHILQai/K4ODtn3V1kMA38z\nCPCS9qj2qxueHNF46ymzZj5oVpQ4//wPo1Sbje5ZvxhYNODYSsJbLOtVlRjd\nRuYCUKkXPGchkG21ixAoXXYgg2Wte8FuWgZA0Spbq554puFVRyx3czfstOFV\nGcGuLv36+fwjPNGt6nVtimOIKXUuBuv8kKTy2p3ygUg+vNjSc7VJAF5gRBq9\n/XXNjA5Ys+6hgZqhfv/lwQGL+o/5lrXbvbIC5XTqJ+pT1pGhCK5EouqUI0CO\nl47AW2Ak4xrhlr73YSb2/fT1y7FMGpqJRi0KSh0l+3dUoI5MEjUet/7RQBNS\nYe6SFxJZsP9ghe1jZrgyAH5WcxbTlfuKghReXySjt6q/mjIYEiCBvp7iz6i+\nUrRhthWmymK8O5TnsSLf0je/E9rnP8UO5ZhFA2MDzLXXN/WPpIwqj1loQuad\nekpH6sl/y/FnKdw9Jg7wpAaP4YM8Tilvv+q3/lIo0cdgi2cJ4Pf/umqxsx8O\nMKsj\r\n=OOaf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEQeOifYtGklli3pbt37j1Lbl0uItYAtesZPRGuOX8ApAiBD7HCI19f6gRug1YmAq41DZgp5PYVGuawkJZF/aEr6xA=="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-output_0.2.1_1571870976392_0.1721506126715664"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-26T21:49:19.392Z","0.0.1":"2019-01-26T21:49:19.716Z","modified":"2022-04-04T21:06:01.822Z","0.0.2":"2019-01-26T22:02:55.971Z","0.0.3":"2019-01-28T23:49:48.259Z","0.0.4":"2019-02-06T22:24:17.779Z","0.1.0":"2019-03-13T16:16:07.564Z","0.1.1":"2019-04-25T20:24:49.606Z","0.1.2":"2019-04-25T20:35:40.647Z","0.1.3":"2019-05-01T19:34:17.943Z","0.1.4":"2019-05-01T21:52:34.631Z","0.2.0":"2019-05-09T20:43:07.804Z","0.2.1":"2019-10-23T22:49:36.596Z"},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"description":"A bundler plugin for Bundles which outputs compiled results to a user defined path(s).","homepage":"https://github.com/brikcss/bundles-output","keywords":["brikcss","bundles","bundler","output"],"repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-output.git"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"author":{"name":"Brikcss","email":"https://github.com/brikcss"},"bugs":{"url":"https://github.com/brikcss/bundles-output/issues"},"license":"MIT","readme":"# Bundles Output Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-output\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-output.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-output/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-core\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/9b153e1a4e304f43bbb205cdb496ef6b/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-output?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-output/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-output.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core). `bundles-output` outputs the data and content compiled by Bundles to disk.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles core is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-output -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles.\n\n### Configuration\n\n**IMPORTANT: Unless you know what you're doing, `bundles-output` should be the last bundler in the `config.bundlers` Array, since it should typically run after all other bundlers have run.**\n\nThe following properties are available in `bundler.options`:\n\n- **`to`** _{String|Function}_ _(required)_ Directory to output compiled data to. Can be a callback Function which returns a String. If return value is falsy, or is not a String, the file will not be output.\n- **`root`** _{String}_ _(process.cwd())_ Root directory for source input paths. For example, settings of `{ to: 'output', root: 'my/dir' }` with a source input of `['my/dir/one.md', 'my/dir/subdir/two.md']` will output files to `output/one.md` and `output/subdir/two.md`.\n- **`incremental`** \\{Boolean\\} _[true]_ When watching files, whether to utilize the incremental build feature (`true`) or always output all files (`false`).\n- **`fs`** Options passed to [fs-extra's `outputFile` method](https://github.com/jprichardson/node-fs-extra), which are the same options passed to [node fs's `writeFile` method](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback). This, for example, gives user control over whether existing files are overwritten. _Note: The `encoding` option is automatically set based on whether the file type is text/utf8 or binary._\n\n### Example\n\n```js\n// Outputs `src/my/file.md` to `my/dir/my/file.md`.\nconst bundle = {\n  input: 'src/my/file.md',\n  bundlers: [\n    {\n      run: '@bundles/bundles-output',\n      options: {\n        to: 'my/dir',\n        root: 'src',\n        incremental: true,\n      },\n    },\n  ],\n};\n```\n","readmeFilename":"README.md"}