Urthen / case-sensitive-paths-webpack-plugin

Enforces case sensitive paths in Webpack requires.
MIT License
428 stars 45 forks source link

Question: Will this work for typescript? #43

Closed gbminnock closed 4 years ago

gbminnock commented 4 years ago

Hey just wondering if this works for typescript? I've installed and run but can only see output ~ Reading Directory ... Seems to be node_module folders and not hitting my src directory.

Having some issues because I develop on windows and build on linux.

Thanks.

Urthen commented 4 years ago

To be perfectly frank, I don't know. I don't use Typescript myself. I don't see any reason why it wouldn't, but there may be configuration requirements in order to get them to work together properly.

Urthen commented 4 years ago

Closing this due to no further response - feel free to re-open if there are further questions.

LouisWayne commented 4 years ago

I just checked - it's not working with TypeScript. But it turned out that I can do this in the TS config

// tsconfig.json
...
"compilerOptions": {
  "forceConsistentCasingInFileNames": true
}
...