File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,9 +53,6 @@ cat > "${OUTPUT_DIR}/${NAME}/package.json" << EOF
5353 "start": "tsc && vite build --base './' && vite",
5454 "build:vite": "vite build --base './'",
5555 "preview": "vite preview"
56- },
57- "dependencies": {
58-
5956 }
6057}
6158EOF
@@ -69,7 +66,7 @@ cat > "${OUTPUT_DIR}/${NAME}/tsconfig.json" << EOF
6966 "rootDir": "."
7067 },
7168 "include": [
72- "./*.ts",
69+ "./*.ts"
7370 ]
7471}
7572EOF
Original file line number Diff line number Diff 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 -->
4746EOF
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}
9997EOF
10098
@@ -106,7 +104,7 @@ cat > "$NAME/tsconfig.json" << 'EOF'
106104 "rootDir": "."
107105 },
108106 "include": [
109- "./*.ts",
107+ "./*.ts"
110108 ]
111109}
112110EOF
You can’t perform that action at this time.
0 commit comments