{"id":18446450,"url":"https://github.com/ovh/rollup-plugin-less-inject","last_synced_at":"2025-04-08T00:31:50.525Z","repository":{"id":40800601,"uuid":"192945250","full_name":"ovh/rollup-plugin-less-inject","owner":"ovh","description":"A Rollup plugin for injecting Less files as CSS into HTML document's head","archived":false,"fork":false,"pushed_at":"2023-10-16T18:09:11.000Z","size":953,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-04-03T16:04:40.867Z","etag":null,"topics":["inject","less","plugin","rollup"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ovh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-20T15:32:31.000Z","updated_at":"2023-10-04T14:23:19.000Z","dependencies_parsed_at":"2024-06-19T22:50:30.267Z","dependency_job_id":"2f9ff455-ca4d-470f-80ff-6db578071a70","html_url":"https://github.com/ovh/rollup-plugin-less-inject","commit_stats":{"total_commits":75,"total_committers":6,"mean_commits":12.5,"dds":0.7066666666666667,"last_synced_commit":"cf62a34aca435bf2d8644ea669c11930c67d6126"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovh%2Frollup-plugin-less-inject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovh%2Frollup-plugin-less-inject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovh%2Frollup-plugin-less-inject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovh%2Frollup-plugin-less-inject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ovh","download_url":"https://codeload.github.com/ovh/rollup-plugin-less-inject/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755388,"owners_count":20990616,"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":["inject","less","plugin","rollup"],"created_at":"2024-11-06T07:09:21.113Z","updated_at":"2025-04-08T00:31:50.124Z","avatar_url":"https://github.com/ovh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rollup-plugin-less-inject\n\n\u003e A [Rollup](https://rollupjs.org/) plugin for injecting [Less](http://lesscss.org/) files as CSS into HTML document's head.\n\n[![Downloads](https://badgen.net/npm/dt/@ovh-ux/rollup-plugin-less-inject)](https://npmjs.com/package/@ovh-ux/rollup-plugin-less-inject) [![Dependencies](https://badgen.net/david/dep/ovh/rollup-plugin-less-inject)](https://npmjs.com/package/@ovh-ux/rollup-plugin-less-inject?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/rollup-plugin-less-inject)](https://npmjs.com/package/@ovh-ux/rollup-plugin-less-inject?activeTab=dependencies)\n\n## Install\n\n```sh\n$ yarn add -D @ovh-ux/rollup-plugin-less-inject\n```\n\n## Usage\n\n```js\n// rollup.config.js\nimport lessInject from '@ovh-ux/rollup-plugin-less-inject';\n\nexport default {\n  input: 'src/main.js',\n  output: {\n    file: 'dist/main.js',\n    format: 'cjs',\n  },\n  plugins: [\n    lessInject(),\n  ],\n};\n```\n\n### Options\n\n#### Include\n\n+ Default: `[ '**/*.less', '**/*.css' ]`\n+ Type: `String|Array`\n\nMinimatch pattern or array of minimatch patterns to determine which files will be transpiled by the plugin.\n\n#### Exclude\n\n+ Default: `node_modules/**`\n+ Type: `String|Array`\n\nMinimatch pattern or array of minimatch patterns to determine which files won't be transpiled by the plugin, takes precedence over the `include` option.\n\n#### Option\n\n+ Type: `Object`\n\nOptions for [less](http://lesscss.org/usage/#programmatic-usage).\n\n## Test\n\n```sh\n$ yarn test\n```\n\n## Contributing\n\nAlways feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/rollup-plugin-less-inject/issues/new) or working on some of the [open issues](https://github.com/ovh/rollup-plugin-less-inject/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.\n\n## License\n\n[BSD-3-Clause](LICENSE) © OVH SAS\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovh%2Frollup-plugin-less-inject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovh%2Frollup-plugin-less-inject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovh%2Frollup-plugin-less-inject/lists"}