{"id":13774518,"url":"https://github.com/vwochnik/rollup-plugin-glsl","last_synced_at":"2025-11-26T02:03:08.410Z","repository":{"id":22002703,"uuid":"94691460","full_name":"vwochnik/rollup-plugin-glsl","owner":"vwochnik","description":"Converts GLSL shader source files to modules","archived":false,"fork":false,"pushed_at":"2022-05-25T04:18:37.000Z","size":12,"stargazers_count":23,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-22T17:21:48.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/vwochnik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-18T14:14:08.000Z","updated_at":"2025-06-09T07:43:58.000Z","dependencies_parsed_at":"2022-08-18T21:50:49.421Z","dependency_job_id":null,"html_url":"https://github.com/vwochnik/rollup-plugin-glsl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/vwochnik/rollup-plugin-glsl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vwochnik%2Frollup-plugin-glsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vwochnik%2Frollup-plugin-glsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vwochnik%2Frollup-plugin-glsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vwochnik%2Frollup-plugin-glsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vwochnik","download_url":"https://codeload.github.com/vwochnik/rollup-plugin-glsl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vwochnik%2Frollup-plugin-glsl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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","status":"online","status_checked_at":"2025-11-26T02:00:06.075Z","response_time":193,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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:27.520Z","updated_at":"2025-11-26T02:03:08.373Z","avatar_url":"https://github.com/vwochnik.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Other File Imports"],"readme":"# rollup-plugin-glsl [![Build Status](https://travis-ci.org/vwochnik/rollup-plugin-glsl.svg)](https://travis-ci.org/vwochnik/rollup-plugin-glsl)\n\n\u003e Converts GLSL shader source files to modules\n\n```js\nimport fragmentShaderSource from './fragment.glsl';\nconsole.log(`Fragment shader source: ${fragmentShaderSource}`);\n```\n\n## Installation\n\n```sh\nnpm i rollup-plugin-glsl -D\n```\n\n## Usage\n\n```js\nimport { rollup } from 'rollup';\nimport glsl from 'rollup-plugin-glsl';\n\nrollup({\n\tentry: 'main.js',\n\tplugins: [\n\t\tglsl({\n\t\t\t// By default, everything gets included\n\t\t\tinclude: 'lib/**/*.glsl',\n\n\t\t\t// Undefined by default\n\t\t\texclude: ['**/index.html'],\n\n\t\t\t// Source maps are on by default\n\t\t\tsourceMap: false\n\t\t})\n\t]\n});\n```\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvwochnik%2Frollup-plugin-glsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvwochnik%2Frollup-plugin-glsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvwochnik%2Frollup-plugin-glsl/lists"}