{"library":"css-modules-typescript-loader","type":"library","category":null,"description":"css-modules-typescript-loader is a Webpack loader designed to generate TypeScript declaration files (.d.ts) for CSS Modules. This enables developers to achieve type-safe access to CSS class names within their TypeScript projects, preventing runtime errors due to mistyped or non-existent class references. The current stable version, 4.0.1, was released in September 2020. While lacking a rigid release schedule, previous major updates occurred roughly annually. A key differentiator of this loader is its emphasis on checking the generated TypeScript declarations into source control. This approach facilitates parallel execution of `webpack` and `tsc` commands in Continuous Integration (CI) pipelines, optimizing build times. Furthermore, it offers a unique `verify` mode, which, when enabled, ensures that the committed TypeScript declarations remain in sync with the dynamically generated types, providing an additional layer of consistency assurance.","language":"javascript","status":"maintenance","version":"4.0.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install css-modules-typescript-loader","imports":["use: ['css-loader', 'css-modules-typescript-loader']","{ loader: 'css-modules-typescript-loader', options: { mode: 'emit' } }","{ loader: 'css-modules-typescript-loader', options: { mode: process.env.CI ? 'verify' : 'emit' } }"]},{"cmd":"yarn add css-modules-typescript-loader","imports":[]},{"cmd":"pnpm add css-modules-typescript-loader","imports":[]}],"homepage":null,"github":"https://github.com/seek-oss/css-modules-typescript-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/css-modules-typescript-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/css-modules-typescript-loader/compatibility"}}