[Question] Ability to run CSS modules type generation separately from the main project build
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 38/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- build-system
Direzione di ricerca
No file or test is named. Start by examining the plugin's current Rsbuild integration and CSS Modules type-generation flow, then determine the scope of a standalone CLI or programmatic entry point. Done means types can be generated without a full project build and the CI or pre-commit use case is documented.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello!
Thank you for this useful library. We are using rsbuild-plugin-typed-css-modules in our project, and the plugin works perfectly for generating .d.ts declaration files during the Rsbuild process (dev server or full build).
However, we have the following requirement: to run the compilation and type generation process for CSS modules separately, without triggering a full project build.
Use case:
This is necessary for our CI/CD pipelines and pre-commit hooks. We need to ensure that the TypeScript definitions for styles are up-to-date before running static analysis (e.g., tsc --noEmit) or linting, without spending time on a full application build via Rsbuild.
Questions:
- Does the current version of the plugin provide a CLI interface, programmatic API, or a standalone script to generate types exclusively for CSS?
- If this is not currently possible, could you recommend a workaround or consider adding this feature in future releases?
Environment:
rsbuild-plugin-typed-css-modulesversion: 1.2.0- Rsbuild version: 1.5.4
Thank you in advance for your time and assistance!
- Lingua principale
- TypeScript
- Stelle
- 11
- Fork
- 5
- Merge medio
- 3g 18h
- PR unite (30g)
- 3
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rstackjs/rsbuild-plugin-typed-css-modules
-
Generate .d.ts.map filesAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
rstackjs/rsbuild-plugin-typed-css-modules#41 · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
rstackjs/rsbuild-plugin-typed-css-modules#17 · 6 commenti ·
-
Dependency DashboardAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
Tutte le issue di rstackjs/rsbuild-plugin-typed-css-modules
Issue simili
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
lingdojo/kana-dojo#34664 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug: achievement job reports success when its Slack announcements failForse già presa @Aadithya-kl l’ha presa oggi. Apertaapp: slackbot good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement help wanted
Difficoltà 2/5 Mezza giornata Idoneità per principianti 62/100
plagor44-ux/liam-e#168 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jerney-nexus/epikrise#364 ·
I maintainer di solito rispondono entro 1 giorno