{"id":15284620,"url":"https://github.com/ovh/rollup-plugin-less-tilde-importer","last_synced_at":"2025-10-07T00:32:16.790Z","repository":{"id":43887884,"uuid":"159650428","full_name":"ovh/rollup-plugin-less-tilde-importer","owner":"ovh","description":"[DEPRECATED] — A rollup plugin providing ~ (tilde) prefix as a way to tell less compiler that it should resolve path using a configured array of module directories.","archived":true,"fork":false,"pushed_at":"2022-02-16T07:15:28.000Z","size":704,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-05-09T17:11:33.915Z","etag":null,"topics":["less","plugin","rollup","tilde"],"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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2018-11-29T10:44:28.000Z","updated_at":"2024-05-09T17:11:33.916Z","dependencies_parsed_at":"2022-08-25T13:01:01.567Z","dependency_job_id":null,"html_url":"https://github.com/ovh/rollup-plugin-less-tilde-importer","commit_stats":null,"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-tilde-importer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovh%2Frollup-plugin-less-tilde-importer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovh%2Frollup-plugin-less-tilde-importer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovh%2Frollup-plugin-less-tilde-importer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ovh","download_url":"https://codeload.github.com/ovh/rollup-plugin-less-tilde-importer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877435,"owners_count":16554878,"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":["less","plugin","rollup","tilde"],"created_at":"2024-09-30T14:59:11.518Z","updated_at":"2025-10-07T00:32:11.487Z","avatar_url":"https://github.com/ovh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rollup-plugin-less-tilde-importer\n\n\u003e A rollup plugin providing ~ (tilde) prefix as a way to tell less compiler that it should resolve path using a configured array of module directories.\n\n:warning: This plugin is now deprecated. Please refer to [rollup-plugin-styles](https://github.com/Anidetrix/rollup-plugin-styles).\n\n## Install\n\n```sh\n$ yarn add -D @ovh-ux/rollup-plugin-less-tilde-importer\n```\n\n## Usage\n\n```js\n// rollup.config.js\nimport less from 'rollup-plugin-less';\nimport lessTildeImporter from '@ovh-ux/rollup-plugin-less-tilde-importer';\nimport path from 'path';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'dist',\n    format: 'cjs',\n    sourcemap: true,\n  },\n  plugins: [\n    lessTildeImporter({\n      paths: [\n        path.resolve(__dirname, './node_modules'),\n        path.resolve(__dirname, '../../node_modules'),\n      ],\n    }),\n    less(),\n  ],\n};\n```\n\n## Related\n\n- [@ovh-ux/rollup-plugin-less-inject](https://github.com/ovh/rollup-plugin-less-inject) - Inject Less files as CSS into HTML document's head.\n\nSee more: https://github.com/rollup/plugins.\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-tilde-importer/issues/new) or working on some of the [open issues](https://github.com/ovh/rollup-plugin-less-tilde-importer/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-tilde-importer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovh%2Frollup-plugin-less-tilde-importer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovh%2Frollup-plugin-less-tilde-importer/lists"}