{"id":16226528,"url":"https://github.com/yhdgms1/malinajs-unplugin","last_synced_at":"2025-03-19T13:30:38.158Z","repository":{"id":130702733,"uuid":"407895954","full_name":"yhdgms1/malinajs-unplugin","owner":"yhdgms1","description":"Malina.js plugin for Vite, Rollup, ESBuild \u0026 Webpack","archived":false,"fork":false,"pushed_at":"2023-05-09T18:18:49.000Z","size":158,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-23T10:18:17.573Z","etag":null,"topics":["esbuild-plugin","malinajs","rollup-plugin","unplugin","vite-plugin","webpack-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/yhdgms1.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-18T15:22:21.000Z","updated_at":"2023-09-27T17:20:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb8eb210-5002-4a78-8926-ccbdf952cfac","html_url":"https://github.com/yhdgms1/malinajs-unplugin","commit_stats":null,"previous_names":["artemis69/malinajs-unplugin"],"tags_count":0,"template":false,"template_full_name":"unplugin/unplugin-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhdgms1%2Fmalinajs-unplugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhdgms1%2Fmalinajs-unplugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhdgms1%2Fmalinajs-unplugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhdgms1%2Fmalinajs-unplugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yhdgms1","download_url":"https://codeload.github.com/yhdgms1/malinajs-unplugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243579028,"owners_count":20313959,"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":["esbuild-plugin","malinajs","rollup-plugin","unplugin","vite-plugin","webpack-plugin"],"created_at":"2024-10-10T12:49:35.551Z","updated_at":"2025-03-19T13:30:37.906Z","avatar_url":"https://github.com/yhdgms1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# malinajs-unplugin\n\n[![install size](https://packagephobia.com/badge?p=malinajs-unplugin@latest)](https://packagephobia.com/result?p=malinajs-unplugin@latest)\n[![npm version](https://badgen.net/npm/v/malinajs-unplugin)](https://www.npmjs.com/package/malinajs-unplugin)\n\n## Usage\n\n### Vite\n\n```ts\n//vite.config.ts\n\nimport { defineConfig } from \"vite\";\nimport { vitePlugin as malinaPlugin } from \"malinajs-unplugin\";\n\nexport default defineConfig(({ mode }) =\u003e ({\n  plugins: [\n    malinaPlugin({\n      debugLabel: mode === \"development\",\n    }),\n  ],\n}));\n```\n\n### Webpack\n\n```js\n//webpack.config.js\nconst { webpackPlugin: malinaPlugin } = require(\"malinajs-unplugin\");\n\nmodule.exports = {\n  plugins: [malinaPlugin()],\n};\n```\n\n## Caution\n\nBe careful when using with Vite: the `html` extension will not work\n\nAs [stated](https://malinajs.github.io/docs/#context) in the malinajs documentation, you can import 'malinajs' as 'malinajs/runtime'.\nUsing unplugin, you cannot do this. [Read more in the issue](https://github.com/Artemis69/malinajs-unplugin/issues/1#issuecomment-938657122)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhdgms1%2Fmalinajs-unplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyhdgms1%2Fmalinajs-unplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhdgms1%2Fmalinajs-unplugin/lists"}