{"id":15292624,"url":"https://github.com/feathersui/vite-plugin-openfl","last_synced_at":"2025-07-09T14:34:28.837Z","repository":{"id":41234850,"uuid":"508776000","full_name":"feathersui/vite-plugin-openfl","owner":"feathersui","description":"A Vite plugin for OpenFL and Feathers UI projects targeting html5","archived":false,"fork":false,"pushed_at":"2025-04-16T23:04:22.000Z","size":56,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T03:52:29.128Z","etag":null,"topics":["feathers-ui","haxe","openfl","openfl-target-html5","rollup-plugin","vite","vite-plugin","vitejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feathersui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"joshtynjala","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-06-29T16:55:31.000Z","updated_at":"2025-04-16T23:04:07.000Z","dependencies_parsed_at":"2023-02-01T04:31:20.648Z","dependency_job_id":null,"html_url":"https://github.com/feathersui/vite-plugin-openfl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/feathersui/vite-plugin-openfl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feathersui%2Fvite-plugin-openfl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feathersui%2Fvite-plugin-openfl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feathersui%2Fvite-plugin-openfl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feathersui%2Fvite-plugin-openfl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feathersui","download_url":"https://codeload.github.com/feathersui/vite-plugin-openfl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feathersui%2Fvite-plugin-openfl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264476510,"owners_count":23614514,"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":["feathers-ui","haxe","openfl","openfl-target-html5","rollup-plugin","vite","vite-plugin","vitejs"],"created_at":"2024-09-30T16:20:04.532Z","updated_at":"2025-07-09T14:34:28.798Z","avatar_url":"https://github.com/feathersui.png","language":"JavaScript","funding_links":["https://github.com/sponsors/joshtynjala"],"categories":[],"sub_categories":[],"readme":"# OpenFL Plugin for Vite\n\nA custom plugin to build [OpenFL](https://openfl.org) (and [Feathers UI](https://feathersui.com/)) projects with [Vite](http://vitejs.dev).\n\n## Usage\n\nCreate a new directory for your project.\n\nCreate the necessary files for an OpenFL project, including _project.xml_ inside the project's root directory and your _.hx_ source files. Then, follow the remaining steps to setup Vite and vite-plugin-openfl.\n\nIn a terminal, run the following command in the root of your project to create a _package.json_ file:\n\n```sh\nnpm init -y\n```\n\nThen, run the following command to install the required dependencies:\n\n```sh\nnpm install --save-dev vite vite-plugin-openfl\n```\n\nOpen the _package.json_ file, and modify the `scripts` section:\n\n```json\n\"scripts\": {\n  \"start\": \"vite\",\n  \"build\": \"vite build\"\n}\n```\n\nCreate a _vite.config.js_ file in the root of your project:\n\n```js\nimport { defineConfig } from \"vite\";\nimport openflPlugin from \"vite-plugin-openfl\";\n\nexport default defineConfig({\n  plugins: [openflPlugin()],\n});\n```\n\nTo start a local development server, run the following command. Then, open _http://localhost:5173/_ in a web browser.\n\n```sh\nnpm start\n```\n\nTo build a production JavaScript bundle, run the following command:\n\n```sh\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeathersui%2Fvite-plugin-openfl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeathersui%2Fvite-plugin-openfl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeathersui%2Fvite-plugin-openfl/lists"}