{"_id":"rollup-plugin-post-replace","_rev":"10-9cff8e178f8c2d46a6cd97f0b195002f","name":"rollup-plugin-post-replace","description":"replace content after bundling","dist-tags":{"latest":"1.0.0"},"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","tarball":"https://registry.npmjs.org/rollup-plugin-post-replace/-/rollup-plugin-post-replace-1.0.0.tgz","integrity":"sha512-IykEQdUr7ooDKFkLn7w69PkIYZ+rWG6pp4XNmAIH+OpDUlfBXbfQ+mMMiFx2ZlvaJ6Z8DQdy7MWhBQO8Ji4lSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCinRDKcA2GXesPj/oK5N+YZjxEAqkVWt3lBryaeGsImwIgTN3eErhb20GNu/BDccy4F1qf/1UmoFEtUYb9QIuuRCk="}]},"maintainers":[{"name":"epiloque","email":"robots+npm@epiloque.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-post-replace-1.0.0.tgz_1479002509345_0.09646919020451605"},"deprecated":"https://github.com/discontinued/rollup-plugin-post-replace"}},"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","maintainers":[{"email":"null@mailbolt.com","name":"eitherlands"}],"time":{"modified":"2022-06-26T14:00:55.101Z","created":"2016-11-13T02:01:51.550Z","1.0.0":"2016-11-13T02:01:51.550Z"},"homepage":"https://github.com/epilque/rollup-plugin-post-replace","keywords":["rollup","plugin","replace","rollup-plugin"],"repository":{"type":"git","url":"git+https://github.com/epiloque/rollup-plugin-post-replace.git"},"author":{"name":"Mark Milstein","email":"mark@epiloque.com"},"bugs":{"url":"https://github.com/epiloque/rollup-plugin-post-replace/issues"},"license":"MIT","readmeFilename":"README.md"}