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
and save that changes, automatically 2 files appear in folder foo/
with name foo/index.dev.js
and foo/index.prod.js
how can I stop this ?
Adding folders#The File > Add Folder to Workspace command brings up an Open Folder dialog to select the new folder. Once a root folder is added, the Explorer will show the new folder as a root in the File Explorer. You can right-click on any of the root folders and use the context menu to add or remove folders.
Open your settings (CMD + , on a Mac or CTRL + , on Windows) and enter a file association. We can do this with the settings UI or the settings JSON, both are options to edit your settings. Then enter a file association for the .
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With