Fix getOptionsHash when two options has different props but same values.#1170
Conversation
|
There is still something wrong, let me find it out. |
|
The another issue is that I using |
|
For some reason the Travis build has failed... |
…correct serialization in `thread-loader`
|
Allow to use If In this case we should use string instead of |
|
Looks good - do you want to add an entry to the By the way, you might not need thread-loader: https://blog.johnnyreilly.com/2018/12/you-might-not-need-thread-loader.html |
|
Just published https://github.com/TypeStrong/ts-loader/releases/tag/v8.0.3 - thanks for your work! 🤗🌻 |
Fix the issue when I use both
lang="tsx"andlang="ts"in vue single file components.For
lang="ts":For
lang="tsx":They get the same hash because
getOptionsHashuse only values for hashing.So for tsx vue file, it reuses the loader options which is only for ts vue, which add
.tssuffix not.tsx.That can lead to wrong compilation result.