Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions samples/migrate-sample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ cat > "${OUTPUT_DIR}/${NAME}/package.json" << EOF
"start": "tsc && vite build --base './' && vite",
"build:vite": "vite build --base './'",
"preview": "vite preview"
},
"dependencies": {

}
}
EOF
Expand All @@ -69,7 +66,7 @@ cat > "${OUTPUT_DIR}/${NAME}/tsconfig.json" << EOF
"rootDir": "."
},
"include": [
"./*.ts",
"./*.ts"
]
}
EOF
Expand Down
6 changes: 2 additions & 4 deletions samples/new-sample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ cat > "$NAME/index.html" << EOF

<link rel="stylesheet" type="text/css" href="./style.css" />
<script type="module" src="./index.js"></script>
<!-- prettier-ignore -->
EOF

# Use 'EOF' to prevent expansion of the loader script
Expand Down Expand Up @@ -93,8 +92,7 @@ cat > "$NAME/package.json" << EOF
"start": "tsc && vite build --base './' && vite",
"build:vite": "vite build --base './'",
"preview": "vite preview"
},
"dependencies": {}
}
}
EOF

Expand All @@ -106,7 +104,7 @@ cat > "$NAME/tsconfig.json" << 'EOF'
"rootDir": "."
},
"include": [
"./*.ts",
"./*.ts"
]
}
EOF
Expand Down
Loading