{"id":21250749,"url":"https://github.com/chenasraf/chrome-url-loader","last_synced_at":"2025-07-11T01:31:26.742Z","repository":{"id":30645586,"uuid":"125383361","full_name":"chenasraf/chrome-url-loader","owner":"chenasraf","description":"Chrome Extension URL loader for webpack - import your files normally and they will be bundled for Chrome extension releases","archived":false,"fork":false,"pushed_at":"2023-08-13T21:24:31.000Z","size":374,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-17T03:06:41.225Z","etag":null,"topics":["chrome-extension","loader","webpack"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/chrome-url-loader","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chenasraf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"casraf","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-03-15T14:55:32.000Z","updated_at":"2023-07-29T16:48:33.000Z","dependencies_parsed_at":"2023-01-14T17:23:26.752Z","dependency_job_id":null,"html_url":"https://github.com/chenasraf/chrome-url-loader","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenasraf%2Fchrome-url-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenasraf%2Fchrome-url-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenasraf%2Fchrome-url-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenasraf%2Fchrome-url-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenasraf","download_url":"https://codeload.github.com/chenasraf/chrome-url-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225669686,"owners_count":17505363,"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":["chrome-extension","loader","webpack"],"created_at":"2024-11-21T03:38:40.672Z","updated_at":"2024-11-21T03:38:41.390Z","avatar_url":"https://github.com/chenasraf.png","language":"JavaScript","funding_links":["https://ko-fi.com/casraf"],"categories":[],"sub_categories":[],"readme":"# chrome-url-loader\nChrome Extension URL loader for webpack.\n\nThis loader links to the file appropriately, using `chrome.extension.getURL` and also creates\nthe file for you in the specified output dir.\n\n### Usage\n\nUse the loader as you would any other one, specify the test files and options:\n\n```javascript\n{\n  loader: require.resolve('chrome-url-loader'),\n  test: /\\.(png|svg|jpe?g|bmp|gif)/i,\n  options: {\n    publicDir: 'build/static/images',\n    baseDir: paths.appSrc\n  }\n}\n```\n\n### Options\n- **baseDir** *(optional)* - Your absolute source root directory (e.g. `/path/to/src`). Defaults to current working directory.\n- **publicDir** - The output dir to save the file to (e.g. `build/static/media`)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenasraf%2Fchrome-url-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenasraf%2Fchrome-url-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenasraf%2Fchrome-url-loader/lists"}