| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b64e8202-af6e-2760-b382-b62ed48181a4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9BE8:2970F3:371443:4A6445:6B008A88 |
| html-safe-nonce | 4f4ee5a5d40e69e2f2285bc888ddde1f64d329f219c4d25867df4ff820ca9450 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkU4OjI5NzBGMzozNzE0NDM6NEE2NDQ1OjZCMDA4QTg4IiwidmlzaXRvcl9pZCI6IjQwMTY2NDg1OTM3NjYxMjQxNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fcdc1fe1b53901ea1105f66dc5937e5613302ec57de3626b74a1d6b8583fd3ba |
| hovercard-subject-tag | pull_request:2313155416 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/unplugin/unplugin-lightningcss/pull/28/files |
| twitter:image | https://avatars.githubusercontent.com/u/1800460?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1800460?s=400&v=4 |
| og:image:alt | Description
This PR implements CSS Modules support.
Linked Issues
#22
Additional context
This implementation requires users to use the common *.modules.css filename convention to opt into CSS Modules. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/unplugin/unplugin-lightningcss git https://github.com/unplugin/unplugin-lightningcss.git |
| octolytics-dimension-user_id | 143585159 |
| octolytics-dimension-user_login | unplugin |
| octolytics-dimension-repository_id | 677769344 |
| octolytics-dimension-repository_nwo | unplugin/unplugin-lightningcss |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 677769344 |
| octolytics-dimension-repository_network_root_nwo | unplugin/unplugin-lightningcss |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | db758f8e02b8257935fb03edf81a3e76eb3abd11 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/unplugin/unplugin-lightningcss/pull/28/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Funplugin%2Funplugin-lightningcss%2Fpull%2F28%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Funplugin%2Funplugin-lightningcss%2Fpull%2F28%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=unplugin%2Funplugin-lightningcss |
| Reload | https://github.com/unplugin/unplugin-lightningcss/pull/28/files |
| Reload | https://github.com/unplugin/unplugin-lightningcss/pull/28/files |
| Reload | https://github.com/unplugin/unplugin-lightningcss/pull/28/files |
| unplugin | https://github.com/unplugin |
| unplugin-lightningcss | https://github.com/unplugin/unplugin-lightningcss |
| Code | https://github.com/unplugin/unplugin-lightningcss |
| Issues1 (1) | https://github.com/unplugin/unplugin-lightningcss/issues |
| Pull requests3 (3) | https://github.com/unplugin/unplugin-lightningcss/pulls |
| Actions | https://github.com/unplugin/unplugin-lightningcss/actions |
| Projects | https://github.com/unplugin/unplugin-lightningcss/projects |
| Security and quality | https://github.com/unplugin/unplugin-lightningcss/security |
| Insights | https://github.com/unplugin/unplugin-lightningcss/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Funplugin%2Funplugin-lightningcss%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Funplugin%2Funplugin-lightningcss%2Fissues%2Fnew%2Fchoose |
| sxzz | https://github.com/sxzz |
| unplugin:main | https://github.com/unplugin/unplugin-lightningcss/tree/main |
| nicksrandall:main | https://github.com/nicksrandall/unplugin-lightningcss/tree/main |
|
Conversation
2
| https://github.com/unplugin/unplugin-lightningcss/pull/28 |
|
Commits
6
| https://github.com/unplugin/unplugin-lightningcss/pull/28/commits |
|
Checks
0
| https://github.com/unplugin/unplugin-lightningcss/pull/28/checks |
|
Files changed
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files |
| Please reload this page | https://github.com/unplugin/unplugin-lightningcss/pull/28/files |
|
Implement CSS Modules
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#top |
|
Show all changes
6 commits
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files |
|
9ac391c
Implement CSS Modules - Fixes #22
nicksrandall Feb 3, 2025
| https://github.com/unplugin/unplugin-lightningcss/pull/28/commits/9ac391c7998d5d5508a32cfeaafc02192048f31d |
|
5ae73ee
address lint/types
nicksrandall Feb 3, 2025
| https://github.com/unplugin/unplugin-lightningcss/pull/28/commits/5ae73ee80354c3047ad93605c6e46c36c041f955 |
|
3641104
merge resolveId
sxzz Feb 4, 2025
| https://github.com/unplugin/unplugin-lightningcss/pull/28/commits/3641104766446b7ad7fbf562b7d8761ffd3fdb1c |
|
d2e0c04
refactor
sxzz Feb 4, 2025
| https://github.com/unplugin/unplugin-lightningcss/pull/28/commits/d2e0c0421d6de515abff59e3d03257099805c1ff |
|
69257ce
don't use hash
sxzz Feb 4, 2025
| https://github.com/unplugin/unplugin-lightningcss/pull/28/commits/69257ce34980df75b07972c543289e37eff9dafe |
|
01f1d48
fix windows
sxzz Feb 4, 2025
| https://github.com/unplugin/unplugin-lightningcss/pull/28/commits/01f1d485ab119d213b955b69ac3c5065d83875e9 |
|
Clear filters
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files |
| Please reload this page | https://github.com/unplugin/unplugin-lightningcss/pull/28/files |
| Please reload this page | https://github.com/unplugin/unplugin-lightningcss/pull/28/files |
|
transform.ts
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-f4a31ed5887e70b463ae75eaf65ff2c0311de2063d3daa252aee3e78c374f94d |
|
index.ts
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80 |
|
transform.test.ts.snap
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-e534b53de6dc71836068600fde12ffafba99821d293677e98ed25e02e658cca9 |
|
index.js
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-b44a0c847376c56827b58640c4180be10ceed58ca9b478cd50dca1a614617038 |
|
styles.module.css
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-245dca3d582aa7626c625d7f35f849011ad1fcb82ddab2e4631ac4964ff77197 |
|
transform.test.ts
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-7efc21f453fe34ae9d572eb7c86417a1236613223b57b75594e701592fe345b6 |
| src/core/transform.ts | https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-f4a31ed5887e70b463ae75eaf65ff2c0311de2063d3daa252aee3e78c374f94d |
|
View file
| https://github.com/nicksrandall/unplugin-lightningcss/blob/01f1d485ab119d213b955b69ac3c5065d83875e9/src/core/transform.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/unplugin/unplugin-lightningcss/pull/28/{{ revealButtonHref }} |
|
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-f4a31ed5887e70b463ae75eaf65ff2c0311de2063d3daa252aee3e78c374f94d |
| src/index.ts | https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80 |
|
View file
| https://github.com/nicksrandall/unplugin-lightningcss/blob/01f1d485ab119d213b955b69ac3c5065d83875e9/src/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/unplugin/unplugin-lightningcss/pull/28/{{ revealButtonHref }} |
|
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80 |
|
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80 |
| tests/__snapshots__/transform.test.ts.snap | https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-e534b53de6dc71836068600fde12ffafba99821d293677e98ed25e02e658cca9 |
|
View file
| https://github.com/nicksrandall/unplugin-lightningcss/blob/01f1d485ab119d213b955b69ac3c5065d83875e9/tests/__snapshots__/transform.test.ts.snap |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/unplugin/unplugin-lightningcss/pull/28/{{ revealButtonHref }} |
|
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-e534b53de6dc71836068600fde12ffafba99821d293677e98ed25e02e658cca9 |
| tests/css-module-fixture/index.js | https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-b44a0c847376c56827b58640c4180be10ceed58ca9b478cd50dca1a614617038 |
|
View file
| https://github.com/nicksrandall/unplugin-lightningcss/blob/01f1d485ab119d213b955b69ac3c5065d83875e9/tests/css-module-fixture/index.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/unplugin/unplugin-lightningcss/pull/28/{{ revealButtonHref }} |
| tests/css-module-fixture/styles.module.css | https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-245dca3d582aa7626c625d7f35f849011ad1fcb82ddab2e4631ac4964ff77197 |
|
View file
| https://github.com/nicksrandall/unplugin-lightningcss/blob/01f1d485ab119d213b955b69ac3c5065d83875e9/tests/css-module-fixture/styles.module.css |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/unplugin/unplugin-lightningcss/pull/28/{{ revealButtonHref }} |
| tests/transform.test.ts | https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-7efc21f453fe34ae9d572eb7c86417a1236613223b57b75594e701592fe345b6 |
|
View file
| https://github.com/nicksrandall/unplugin-lightningcss/blob/01f1d485ab119d213b955b69ac3c5065d83875e9/tests/transform.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/unplugin/unplugin-lightningcss/pull/28/{{ revealButtonHref }} |
|
| https://github.com/unplugin/unplugin-lightningcss/pull/28/files#diff-7efc21f453fe34ae9d572eb7c86417a1236613223b57b75594e701592fe345b6 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |