{"id":16005415,"url":"https://github.com/yakovlev-alexey/next-pcss","last_synced_at":"2026-05-07T11:33:03.277Z","repository":{"id":63264285,"uuid":"565719177","full_name":"yakovlev-alexey/next-pcss","owner":"yakovlev-alexey","description":"Import global `.pcss` files in your Next.js project.","archived":false,"fork":false,"pushed_at":"2022-11-14T07:26:51.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T17:46:31.645Z","etag":null,"topics":["next","nextjs","pcss","postcss"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@yakovlev-alexey/next-pcss","language":"JavaScript","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/yakovlev-alexey.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}},"created_at":"2022-11-14T07:17:43.000Z","updated_at":"2022-11-14T07:28:21.000Z","dependencies_parsed_at":"2022-11-16T01:15:19.684Z","dependency_job_id":null,"html_url":"https://github.com/yakovlev-alexey/next-pcss","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/yakovlev-alexey%2Fnext-pcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakovlev-alexey%2Fnext-pcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakovlev-alexey%2Fnext-pcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakovlev-alexey%2Fnext-pcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yakovlev-alexey","download_url":"https://codeload.github.com/yakovlev-alexey/next-pcss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276189,"owners_count":20912288,"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":["next","nextjs","pcss","postcss"],"created_at":"2024-10-08T11:04:32.060Z","updated_at":"2026-05-07T11:32:58.256Z","avatar_url":"https://github.com/yakovlev-alexey.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next PCSS\n\nImport global `.pcss` files in your Next.js project.\n\n## Motiviation\n\nIf you are trying to migrate to Next.js some of your old build procedure may be a pain. For me this pain turned out to be a custom extension for global CSS files compiled with PostCSS. Renaming the files would break the old procedure which is not an option. This plugin adds necessary loaders to use such files in a Next project.\n\n**How is this plugin different from [next-pcss](https://www.npmjs.com/package/next-pcss) package?**\n\n`next-pcss` plugin by `yogin` is unmaintained and will not work with new versions of Next.js.\n\n## Installation\n\n```bash\nyarn add -D @yakovlev-alexey/next-pcss\n# or\nnpm install --save-dev @yakovlev-alexey/next-pcss\n```\n\n## Usage\n\nThis plugin is designed to be used with `next-transpile-modules` but can be used without it as well. Just wrap your Next.js configuration with `withPcss` call.\n\n\u003e If you are using `next-transpile-modules` then make sure to put `withPcss` **inside** `withTm` params. Otherwise copied PCSS loader will not be updated by `next-transpile-modules`.\n\n```js\nconst withTM = require(\"next-transpile-modules\")([\"some_package\"]);\nconst withPcss = require(\"@yakovlev-alexey/next-pcss\");\n\nmodule.exports = withTm(\n  withPcss({\n    /* your config here */\n  })\n);\n```\n\n\u003e PCSS modules (`.module.pcss`) **will not** be compiled as CSS modules. Make sure to leave a [GitHub issue](https://github.com/yakovlev-alexey/next-pcss/issues) if you need this feature.\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakovlev-alexey%2Fnext-pcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyakovlev-alexey%2Fnext-pcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakovlev-alexey%2Fnext-pcss/lists"}