{"_id":"@axel669/rollup-dollar-path","name":"@axel669/rollup-dollar-path","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@axel669/rollup-dollar-path","version":"0.1.0","description":"## Installation ```bash yarn add @axel669/rollup-dollar-path ```","main":"main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/axel669/rollup-at-path.git"},"author":{"name":"Axel"},"license":"MIT","bugs":{"url":"https://github.com/axel669/rollup-at-path/issues"},"homepage":"https://github.com/axel669/rollup-at-path#readme","devDependencies":{"rollup":"^2.79.0"},"licenseText":"MIT License\n\nCopyright (c) 2022 Chris Morgan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@axel669/rollup-dollar-path@0.1.0","dist":{"shasum":"692e98cc6a56e86144ee1db8b7b6b592190a8253","integrity":"sha512-DaNXAEeIL0Fh6AwwAvetTdk8JfTcqmr/SvA/PDfDnLxfAQVDvuq3oqDPe64oOpg5fImWb0xdB11GGA4WFCmrWQ==","tarball":"https://registry.npmjs.org/@axel669/rollup-dollar-path/-/rollup-dollar-path-0.1.0.tgz","fileCount":14,"unpackedSize":4764,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGM9+QPZZ8PO8udshrL2aQc06TV1EaIKlfZ+X3E+ZkNsAiEAsVGX2SdpdDOWDJxNqWVNS2EAJEQWAx8VlG5pVh9Ikpg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGU9EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpwdw/9FkIUsdzLrHtddbSCikFMuu9XnmqaMmZF/rmyj0BUbGVs/glT\r\nx/AeWZALUOjKERoivl/Stwp23oWGtV/xwg7wxCZtDP/XfD7Wr6R/6GalZEM3\r\nrpyFhHMLWZmW7IinPoRkDtY/PZu1jThS5uhp8nh2Ct6kVvDRFx3w5oi9hvr7\r\noFm6MGYO/6CD7nE2w5xH7waH8+/Bv8Myr7zmJtNrcSVLdSyaVyFJhlF4zm6J\r\nBaBLDT1aau3Ok2e7fODj1nWQzCQdDa+8pYwa9bbxMuA4ZFIwF0kItNO8pud5\r\n3/x0cxDx06XPK6Ao2ni+URxZMxe+HUDSeQHearPK32QndiiF+CD/IDs44IEn\r\nL8FSjNhHyhqmr/fJFjuHXqzmq82o4BwFyY1epFnJgfpZQtIXnHLj02twgU1V\r\n4LrFYPUEzKwJTb4DvauMOOHQPJBssHfpFcUa0upDzj7OSX7vJNTKH/7nQJev\r\n62akbLF9vcKmY7C2gc9ljCKP0nGaJqgirUsOZ0+2YUx8SpndpDF5M109C39g\r\n8eXAlihRw77VjPeUG7sxc3OoL2PqBWsFQ6gpZyx2AOOSP7LmzLNtAheZ5+LK\r\ngn7XeAB+B4WtFB3foRqpN2foRy+6yQwTf8MnfsClGzravRDZg9OJG5+etnds\r\ndKXlrZhk7BaU5IjnVZQ/SQEKg8o4EIlc4+A=\r\n=tRWN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"axel669","email":"axel@axel669.net"},"directories":{},"maintainers":[{"name":"axel669","email":"axel@axel669.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-dollar-path_0.1.0_1662603075960_0.7411557153190091"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-08T02:11:15.883Z","0.1.0":"2022-09-08T02:11:16.152Z","modified":"2022-09-08T02:11:16.296Z"},"maintainers":[{"name":"axel669","email":"axel@axel669.net"}],"description":"## Installation ```bash yarn add @axel669/rollup-dollar-path ```","homepage":"https://github.com/axel669/rollup-at-path#readme","repository":{"type":"git","url":"git+https://github.com/axel669/rollup-at-path.git"},"author":{"name":"Axel"},"bugs":{"url":"https://github.com/axel669/rollup-at-path/issues"},"license":"MIT","readme":"# Rollup $path\n\n## Installation\n```bash\nyarn add @axel669/rollup-dollar-path\n```\n\n## Usage\n\n```js\nimport $path from \"@axel669/rollup-dollar-path\"\n\nmodule.exports = {\n    input: \"main.mjs\",\n    output: {\n        file: \"build/script.js\",\n        format: \"iife\",\n    },\n    plugins: [\n        //  NOTE: All paths are relative to directory rollup is being run in\n        $path({\n            //  Root folder to resolve for \"$/\"\n            root: \".\",\n            //  Optional mappings for naming common imports\n            paths: {\n                $func: \"functions\",\n                $seed: \"seed.mjs\"\n            },\n            //  Optional extensions to check when resolving\n            //  default: [\".js\", \".mjs\", \".svelte\", \".jsx\"]\n            extensions: [\".js\", \".mjs\", \".cjs\"]\n        })\n    ]\n}\n\n```\n","readmeFilename":"README.md"}