{"id":16384029,"url":"https://github.com/lttb/prejss-styles-loader","last_synced_at":"2025-03-23T03:33:32.616Z","repository":{"id":57329780,"uuid":"84651000","full_name":"lttb/prejss-styles-loader","owner":"lttb","description":"Styles loader for Webpack on top of PreJSS","archived":false,"fork":false,"pushed_at":"2017-05-09T06:39:49.000Z","size":32,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T17:24:52.394Z","etag":null,"topics":["loader","prejss","webpack"],"latest_commit_sha":null,"homepage":"","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/lttb.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":"2017-03-11T13:14:13.000Z","updated_at":"2022-11-21T06:12:26.000Z","dependencies_parsed_at":"2022-09-06T20:30:40.143Z","dependency_job_id":null,"html_url":"https://github.com/lttb/prejss-styles-loader","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttb%2Fprejss-styles-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttb%2Fprejss-styles-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttb%2Fprejss-styles-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttb%2Fprejss-styles-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lttb","download_url":"https://codeload.github.com/lttb/prejss-styles-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052645,"owners_count":20553162,"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":["loader","prejss","webpack"],"created_at":"2024-10-11T04:10:21.630Z","updated_at":"2025-03-23T03:33:32.301Z","avatar_url":"https://github.com/lttb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prejss-styles-loader\n\nStyles loader for Webpack on top of [PreJSS](https://github.com/axept/prejss).\n\nProcess stylesheets from separate files via PostCSS to the JSS-like objects.\n\n## Installation\n\n```sh\nnpm i -D prejss-styles-loader\n```\nor\n```sh\nyarn add prejss-styles-loader -D\n```\n\n## Usage example\n\n```js\nimport injectSheet from 'react-jss'\n\n// this style would become to JSS object literal\nimport style from './style.css'\n\nconst App = () =\u003e // ...\n\n// ...\n\nexport default injectSheet(style)(App)\n```\n\n*styles.css*\n```stylus\napp {\n  position: absolute;\n  top: 0;\n  left: 0;\n}\n```\n\n### Webpack config example\n\n```js\nrules: [{\n  test: /\\.s[ac]?ss$/,\n  include: [\n    PATHS.app,\n  ],\n  use: [\n    'prejss-styles-loader',\n  ],\n}]\n```\n\n## Links\n- [PreJSS](https://github.com/axept/prejss)\n\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flttb%2Fprejss-styles-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flttb%2Fprejss-styles-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flttb%2Fprejss-styles-loader/lists"}