I have an npm module written in typescript.
However, when I rename a certain class and try npm rebuild
the build
folder still contains the old module name. This is still a problem even after I change the class name in <project name>.js
folder, in module.exports
.
Deleting said <old-class-name>.js
in the build folder before rebuilding also doesn't seem to help, as no new javascript file is created in the build folder.
Am I doing something wrong here?
This is very annoying because now I have inconsistent class names and unexpected errors, significantly slowing down the development process.