Skip to content

Commit 90ebbe7

Browse files
authored
Fix HTML and JSON formatting in new-sample.sh
1 parent 5bbec91 commit 90ebbe7

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

samples/new-sample.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ cat > "$NAME/index.html" << EOF
4343
4444
<link rel="stylesheet" type="text/css" href="./style.css" />
4545
<script type="module" src="./index.js"></script>
46-
<!-- prettier-ignore -->
4746
EOF
4847

4948
# Use 'EOF' to prevent expansion of the loader script
@@ -93,8 +92,7 @@ cat > "$NAME/package.json" << EOF
9392
"start": "tsc && vite build --base './' && vite",
9493
"build:vite": "vite build --base './'",
9594
"preview": "vite preview"
96-
},
97-
"dependencies": {}
95+
}
9896
}
9997
EOF
10098

@@ -106,7 +104,7 @@ cat > "$NAME/tsconfig.json" << 'EOF'
106104
"rootDir": "."
107105
},
108106
"include": [
109-
"./*.ts",
107+
"./*.ts"
110108
]
111109
}
112110
EOF

0 commit comments

Comments
 (0)