{"id":15810070,"url":"https://github.com/lukesheard/esbuild-css-loader","last_synced_at":"2025-04-01T00:41:06.070Z","repository":{"id":91232232,"uuid":"340013665","full_name":"LukeSheard/esbuild-css-loader","owner":"LukeSheard","description":"CSS extraction and loading for esbuild","archived":false,"fork":false,"pushed_at":"2021-02-23T22:13:49.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-06T03:42:46.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/LukeSheard.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-02-18T10:27:42.000Z","updated_at":"2021-07-25T11:16:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3e21d33-30e2-4777-8af2-3c9774ef27f4","html_url":"https://github.com/LukeSheard/esbuild-css-loader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSheard%2Fesbuild-css-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSheard%2Fesbuild-css-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSheard%2Fesbuild-css-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSheard%2Fesbuild-css-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukeSheard","download_url":"https://codeload.github.com/LukeSheard/esbuild-css-loader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246563370,"owners_count":20797444,"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":[],"created_at":"2024-10-05T03:42:49.830Z","updated_at":"2025-04-01T00:41:06.046Z","avatar_url":"https://github.com/LukeSheard.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esbuild-css-loader\n\nCSS extraction and loading for esbuild. \n\n*(Based on ```css-loader``` and ```style-loader``` from webpack).*\n\nCurrently esbuild does not support CSS extraction with code-splitting. \nWhen building multiple entrypoints with esbuild a known workaround is to run\nesbuild twice: once with code splitting on, once with it off. This generates large\nblobs of CSS to load with each entrypoint but most of that CSS could be shared. \n\nThis plugin extracts each imported CSS into it's own css file and loads it dynamically \nat runtime. \n\n## Known Caveats: \n\n* CSS which uses ```@import``` syntax is not supported since the CSS file is not AST parsed\nand evaluated. This is fine in most cases since packages generally only ship full CSS files,\nbut may not work with local design systems. \n\n* Flashes of unstyled content are a thing (much like ```css-loader``` in webpack). This is \nbecause the CSS files are loaded inline during import evaluation. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukesheard%2Fesbuild-css-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukesheard%2Fesbuild-css-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukesheard%2Fesbuild-css-loader/lists"}