{"id":19636763,"url":"https://github.com/mizchi/next-amp-tailwind-purgecss","last_synced_at":"2025-04-28T09:31:11.072Z","repository":{"id":40835062,"uuid":"262738853","full_name":"mizchi/next-amp-tailwind-purgecss","owner":"mizchi","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-06T05:28:05.000Z","size":1500,"stargazers_count":8,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T08:03:59.878Z","etag":null,"topics":["amp","next","postcss","purgecss","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mizchi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-10T07:58:50.000Z","updated_at":"2021-08-30T14:31:16.000Z","dependencies_parsed_at":"2023-02-05T10:30:34.608Z","dependency_job_id":null,"html_url":"https://github.com/mizchi/next-amp-tailwind-purgecss","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/mizchi%2Fnext-amp-tailwind-purgecss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizchi%2Fnext-amp-tailwind-purgecss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizchi%2Fnext-amp-tailwind-purgecss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizchi%2Fnext-amp-tailwind-purgecss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizchi","download_url":"https://codeload.github.com/mizchi/next-amp-tailwind-purgecss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251284876,"owners_count":21564687,"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":["amp","next","postcss","purgecss","tailwindcss"],"created_at":"2024-11-11T12:31:12.520Z","updated_at":"2025-04-28T09:31:06.062Z","avatar_url":"https://github.com/mizchi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next + amp + tailwind + purgecss example\n\n## How to develop\n\n```bash\n# development\nyarn dev # localhost:3000\n\n# build\nyarn build # gen out/\n```\n\n## How it works.\n\n- Build `style/bundle.css` by `postcss-cli`\n  - See `postcss.config.js`\n  - `purgecss` watches `pages/*` and `components/*`\n- `pages/_document.tsx` includes it as raw.\n\n## Why\n\n- Next.js amp mode is great.\n- AMP custom style has css size limit.\n- Tailwind is big.\n\nSo I need to purge unused css.\n\n## Reference\n\nhttps://dev.to/geekplux/how-to-use-tailwindcss-with-amp-in-a-next-js-project-1f97\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizchi%2Fnext-amp-tailwind-purgecss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizchi%2Fnext-amp-tailwind-purgecss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizchi%2Fnext-amp-tailwind-purgecss/lists"}