Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
666 views
in Technique[技术] by (71.8m points)

javascript - Vs code create folder automatically with (dist) name

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 ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...