Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appendSuffixTo option includes ts extension in webpack addDependency calls. #496

Closed
WearyMonkey opened this issue Mar 10, 2017 · 0 comments · Fixed by #497
Closed

appendSuffixTo option includes ts extension in webpack addDependency calls. #496

WearyMonkey opened this issue Mar 10, 2017 · 0 comments · Fixed by #497

Comments

@WearyMonkey
Copy link
Contributor

ts-loader incorrectly includes the appended '.ts' suffix of files matching the appendTsSuffixTo option in the dependency path, e.g. addDependency('styles.css.ts').

As webpack is unable to find these files on the filesystem it appears to mark the module as dirty when ANY file in the entry point's dependency tree changes. The end result is any change will cause all modules to be re-compiled.

See: https://github.com/WearyMonkey/ts-loader-dependencies-bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant