{"_id":"rollup-plugin-post-replace","_rev":"2882844","name":"rollup-plugin-post-replace","description":"replace content after bundling","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"npm:eitherlands","email":""}],"time":{"modified":"2022-10-06T07:33:29.000Z","created":"2016-11-13T02:01:51.550Z","1.0.0":"2016-11-13T02:01:51.550Z"},"users":{},"author":{"name":"Mark Milstein","email":"mark@epiloque.com"},"repository":{"type":"git","url":"git+https://github.com/epiloque/rollup-plugin-post-replace.git"},"versions":{"1.0.0":{"name":"rollup-plugin-post-replace","version":"1.0.0","description":"replace content after bundling","author":{"name":"Mark Milstein","email":"mark@epiloque.com"},"repository":{"type":"git","url":"git+https://github.com/epiloque/rollup-plugin-post-replace.git"},"keywords":["rollup","plugin","replace","rollup-plugin"],"license":"MIT","homepage":"https://github.com/epilque/rollup-plugin-post-replace","engines":{"node":">=6.0.0"},"files":["index.js"],"scripts":{"test":"node ./test/index.js"},"main":"./lib/index.js","dependencies":{"magic-string":"^0.16.0"},"devDependencies":{"rollup":"^0.36.3","tape":"^4.6.2"},"gitHead":"87f848ace0e786e588e7e036e3310fb378a1b434","bugs":{"url":"https://github.com/epiloque/rollup-plugin-post-replace/issues"},"_id":"rollup-plugin-post-replace@1.0.0","_shasum":"afba5cdb2eac6b0ed82540d4706670c34319b20e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"epiloque","email":"robots+npm@epiloque.com"},"dist":{"shasum":"afba5cdb2eac6b0ed82540d4706670c34319b20e","size":2440,"noattachment":false,"key":"/rollup-plugin-post-replace/-/rollup-plugin-post-replace-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-post-replace/download/rollup-plugin-post-replace-1.0.0.tgz"},"maintainers":[{"name":"npm:eitherlands","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-post-replace-1.0.0.tgz_1479002509345_0.09646919020451605"},"directories":{},"publish_time":1479002511550,"_hasShrinkwrap":false,"deprecated":"https://github.com/discontinued/rollup-plugin-post-replace","_cnpm_publish_time":1479002511550,"_cnpmcore_publish_time":"2021-12-16T20:09:03.820Z"}},"readme":"# [rollup-plugin-post-replace](https://github.com/epiloque/rollup-plugin-post-replace)\n\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]\n\n## [Installation](https://github.com/epiloque/rollup-plugin-post-replace#Installation)\n\n```bash\nnpm install --save-dev rollup-plugin-post-replace\n```\n\n## [Usage](https://github.com/epiloque/rollup-plugin-post-replace#Usage)\n\n```js\nimport { rollup } from 'rollup';\nimport replace from 'rollup-plugin-post-replace';\n\nrollup({\n  entry: 'main.js',\n  plugins: [\n    replace({\n      ENVIRONMENT: JSON.stringify( 'production' )\n    })\n  ]\n}).then(...)\n```\n\n## [Options](https://github.com/epiloque/rollup-plugin-post-replace#Options)\n\n```js\n{\n  // To replace every occurence of `<@foo@>` instead of every\n  // occurence of `foo`, supply delimiters\n  delimiters: [ '<@', '@>' ],\n\n  // All other options are treated as `string: replacement`\n  // replacers...\n  VERSION: '1.0.0',\n  ENVIRONMENT: JSON.stringify( 'development' ),\n\n  // ...unless you want to be careful about separating\n  // values from other options, in which case you can:\n  values: {\n    VERSION: '1.0.0',\n    ENVIRONMENT: JSON.stringify( 'development' )\n  }\n}\n```\n\n## [Thanks](https://github.com/epiloque/rollup-plugin-post-replace#Thanks)\n\nThanks to [Rich Harris](https://github.com/Rich-Harris) and the rollup community.\n\n## [License](https://github.com/epiloque/rollup-plugin-post-replace#License)\n\nrollup-plugin-post-replace is released under the terms of the MIT License.\n\nThis software includes or is derivative of works distributed under the licenses\nlisted below. Please refer to the specific files and/or packages for more\ndetailed information about the authors, copyright notices, and licenses.\n\n-   [rollup-plugin-replace](https://github.com/rollup/rollup-plugin-replace) is released under the\n    terms of the MIT license.\n\n[npm-url]: https://www.npmjs.com/package/rollup-plugin-post-replace\n\n[npm-image]: https://img.shields.io/npm/v/rollup-plugin-post-replace.svg\n\n[travis-url]: https://travis-ci.org/epiloque/rollup-plugin-post-replace\n\n[travis-image]: https://img.shields.io/travis/epiloque/rollup-plugin-post-replace.svg?branch=master\n","_attachments":{},"homepage":"https://github.com/epilque/rollup-plugin-post-replace","bugs":{"url":"https://github.com/epiloque/rollup-plugin-post-replace/issues"},"license":"MIT"}