{"id":13774110,"url":"https://github.com/riot/rollup-plugin-riot","last_synced_at":"2025-04-25T10:30:56.766Z","repository":{"id":48801001,"uuid":"49485405","full_name":"riot/rollup-plugin-riot","owner":"riot","description":"Rollup Plugin for Riot","archived":false,"fork":false,"pushed_at":"2023-10-06T21:34:08.000Z","size":815,"stargazers_count":25,"open_issues_count":1,"forks_count":9,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-04-24T22:42:54.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/rollup-plugin-riot","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/riot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-01-12T08:17:09.000Z","updated_at":"2023-10-06T21:33:01.000Z","dependencies_parsed_at":"2024-01-23T21:43:35.413Z","dependency_job_id":null,"html_url":"https://github.com/riot/rollup-plugin-riot","commit_stats":{"total_commits":94,"total_committers":9,"mean_commits":"10.444444444444445","dds":0.5319148936170213,"last_synced_commit":"aec1b10bc96923972004784f9182d058fc03190d"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riot%2Frollup-plugin-riot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riot%2Frollup-plugin-riot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riot%2Frollup-plugin-riot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riot%2Frollup-plugin-riot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riot","download_url":"https://codeload.github.com/riot/rollup-plugin-riot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223644787,"owners_count":17178764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T17:01:23.790Z","updated_at":"2024-11-10T18:29:50.855Z","avatar_url":"https://github.com/riot.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Frameworks"],"readme":"# Rollup Plugin for Riot\n\n[![Build Status][ci-image]][ci-url]\n[![NPM version][npm-version-image]][npm-url]\n[![NPM downloads][npm-downloads-image]][npm-url]\n[![MIT License][license-image]][license-url]\n\nCompiles tag files within rollup processes.\n\n## Important\n\nIf you are using Riot.js \u003c 4.0.0 please check the [v3 branch](https://github.com/riot/rollup-plugin-riot/tree/v3)\n\n## Installation\n\n```bash\nnpm install rollup-plugin-riot @riotjs/compiler -D\n```\n\nRequires @riotjs/compiler \u003e 4.x.x and Rollup v1.x.x or above.\n\n## Usage\n\n```js\nimport riot from 'rollup-plugin-riot'\nexport default {\n  input: 'src/main.js',\n  output: {\n    file: 'dist/bundle.js',\n  },\n  plugins: [riot()],\n}\n```\n\n## Options\n\nYou can specify some `options`:\n\n```js\nimport riot from 'rollup-plugin-riot'\nconst options = {\n  ext: 'html',\n}\nexport default {\n  input: 'src/main.js',\n  output: {\n    file: 'dist/bundle.js',\n  },\n  plugins: [riot(options)],\n}\n```\n\n- `ext`: extension of tag file (default is 'riot')\n- `include`: a [minimatch](https://www.npmjs.com/package/minimatch) pattern for including files.\n- `exclude`: a minimatch pattern for excluding files.\n\nAnd other options of `@riotjs/compiler` could be used.\n\n## Recipes\n\n- https://github.com/riot/examples/tree/gh-pages/rollup\n\n[ci-image]: https://img.shields.io/github/actions/workflow/status/riot/rollup-plugin-riot/test.yml?style=flat-square\n[ci-url]: https://github.com/riot/rollup-plugin-riot/actions\n[license-image]: https://img.shields.io/badge/license-MIT-000000.svg?style=flat-square\n[license-url]: LICENSE\n[npm-version-image]: https://img.shields.io/npm/v/rollup-plugin-riot.svg?style=flat-square\n[npm-downloads-image]: https://img.shields.io/npm/dm/rollup-plugin-riot.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/rollup-plugin-riot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friot%2Frollup-plugin-riot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friot%2Frollup-plugin-riot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friot%2Frollup-plugin-riot/lists"}