In My VS code after each modifies create a folder with name dist in that directory, for example after in change something in folder foo/index.js a
dist
foo/index.js
Solution
This Issue happens maybe you install Sass/Less/Typescript/Jade/Pug Compile Hero Plugin in your VS code and if you use this plugin, you can disable that for avoiding compile on save file and create index.dev.js and index.prod.js file
index.dev.js
index.prod.js