Jimdo/typings-for-css-modules-loader

Weird behavior when checking out branch

Opened this issue · 1 comments

We're very happy with this tool, but we're experiencing a weird behavior when checking out branches with different styles among them.

Since our autogenerated scss.d.ts files are included in .gitignore, they are kept locally when checking out to another branch. If styles are different among them, this leads to compilation issues (using yarn build, our gulp build script using webpack, etc)... Compilation can't be fixed unless we manually remove all autogenerated scss.d.ts files, because they're not being updated.

I'm sure we're doing something wrong, because I don't believe the rest of you are experiencing this issue. Are you git ignoring these files? Is it normal that scss.d.ts files are not being properly regenerated when this file already exists, even if the scss files are different?

Thank you very much for your time!

I'm also experiencing this issue, any help would be appreciated!