我在/ storage中使用Parcel捆绑器创建了一个React应用。然后,我将整个项目移至/ storage / client。每次当我将所有内容“保存”时,都会在/ storage中重新创建index.html和package.json。为什么会这样?我该如何阻止它?
// package.json
{
"name": "storage",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "parcel ./index.html"
},
...
// index.html
<!DOCTYPE html>
<html>
<head>
<title>React starter app</title>
<link rel="stylesheet" type="text/css" href="./Main.css">
</head>
<body>
<div id="app"></div>
<script src="./index.js"></script>
</body>
</html>