{"id":13671046,"url":"https://github.com/olegstepura/typed-css-modules-loader","last_synced_at":"2025-06-17T15:41:07.706Z","repository":{"id":53347144,"uuid":"59281955","full_name":"olegstepura/typed-css-modules-loader","owner":"olegstepura","description":"💠 Webpack loader for typed-css-modules auto-creation","archived":false,"fork":false,"pushed_at":"2023-01-07T02:20:23.000Z","size":249,"stargazers_count":62,"open_issues_count":2,"forks_count":23,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T11:49:32.824Z","etag":null,"topics":["css-modules","loader","typescript","webpack-loader"],"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/olegstepura.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":"2016-05-20T09:25:24.000Z","updated_at":"2023-03-09T11:58:56.000Z","dependencies_parsed_at":"2023-02-06T10:31:10.417Z","dependency_job_id":null,"html_url":"https://github.com/olegstepura/typed-css-modules-loader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/olegstepura/typed-css-modules-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olegstepura%2Ftyped-css-modules-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olegstepura%2Ftyped-css-modules-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olegstepura%2Ftyped-css-modules-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olegstepura%2Ftyped-css-modules-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olegstepura","download_url":"https://codeload.github.com/olegstepura/typed-css-modules-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olegstepura%2Ftyped-css-modules-loader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260390346,"owners_count":23001900,"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":["css-modules","loader","typescript","webpack-loader"],"created_at":"2024-08-02T09:00:56.863Z","updated_at":"2025-06-17T15:41:02.695Z","avatar_url":"https://github.com/olegstepura.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# typed-css-modules-loader\n\nSimplest webpack loader for https://github.com/Quramy/typed-css-modules\n\nI suggest using it as preloader. Unless you change the options (see below), it\nwill generate `.css.d.ts` files near the `.css`. Please take a look at\n[this discussion](https://github.com/Quramy/typed-css-modules/issues/2) to make a decision.\n\nIt has one option - noEmit, which turns off emitting files to the output path of webpack.\n\nYou can affect how `typed-css-modules` behaves by using query parameters. The loader\nwill pass any query parameters you specify (excluding noEmit) to the constructor of the `DtsCreator`\nclass. For more info on available options, please take a look here:\n[DtsCreator constructor](https://github.com/Quramy/typed-css-modules#new-dtscreatoroption).\n\n\n```js\n\nconst settings = {\n  // ...\n  module: {\n    loaders: [\n      // ...\n      {\n        enforce: 'pre',\n        test: /\\.css$/,\n        exclude: /node_modules/,\n        loader: 'typed-css-modules-loader'\n        // or in case you want to use parameters:\n        // loader: 'typed-css-modules?outDir=/tmp'\n        // or in case you want to use noEmit:\n        // loader: 'typed-css-modules?noEmit'\n      }\n    ],\n  }\n  // ...\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folegstepura%2Ftyped-css-modules-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folegstepura%2Ftyped-css-modules-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folegstepura%2Ftyped-css-modules-loader/lists"}