Comments (4)
Hello @testarossaaaaa, good question.
Right now, the TypeScript team don't support plugins during build-time, only development, but this is something many members of the community want to see changed.
If you really need this, you can consider using ttypescript
with a transform, or using a tool that writes .d.ts
files to disk. Neither solution are ideal...
from typescript-plugin-css-modules.
That looks great, thanks! @mrmckeb
from typescript-plugin-css-modules.
@mrmckeb This is of course unfortunate (and not your fault). I think it would be very helpful to document this limitation in the README. I just spent a lot of time trying to get this plugin working at build time. :/
from typescript-plugin-css-modules.
Thanks for the feedback @memark, I recently added this to the README:
https://github.com/mrmckeb/typescript-plugin-css-modules#about-this-plugin
Does that cover it?
from typescript-plugin-css-modules.
Related Issues (20)
- The ts type prompt is not updated after modifying the scss file HOT 1
- Plugin syntax error but typescript compiles fine HOT 2
- Allow to create configurable extensions for VSCode based on this plugin HOT 3
- How to use `typescript-plugin-css-modules` in `ts-loader` webpack ? HOT 1
- Plugin causes error in VSCode with TypeScript 5.2.2 HOT 3
- Current customMatcher does not match stylus files HOT 2
- The plugin isn't working correctly for me and I'm not sure why HOT 4
- Move to file in VSCode does not work with plugin installed HOT 1
- Is version 5 backwards compatible with weback and CRA HOT 2
- Including this plugin in WebStorm projects breaks TS type checking HOT 10
- refactoring support in vscode HOT 1
- goToDefinition doesn't work properly HOT 12
- Plugin activation failed: TypeError: Cannot set property createLanguageServiceSourceFile
- Using external importers HOT 1
- Consider making `sass` an optional peerDependency HOT 1
- Plugin crashes TypeScript ProjectService in TS 5.3.2+ HOT 1
- Does not work in VSCode and a common SvelteKit project. HOT 2
- `@value` is missing from imported type HOT 5
- goToDefination not working in WebStorm HOT 5
- Add support for Node.js Subpath Imports
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-plugin-css-modules.