Skip to content
Merged
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
4 changes: 2 additions & 2 deletions bin/freenit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ frontend() {
case `uname` in
*BSD)
${SED_CMD} '' -e "s/export default defineConfig/const config = defineConfig/" vite.config.ts
${SED_CMD} '' -e 's/^\t}$/\t},/' package.json
${SED_CMD} '' -e "s/^}//" package.json
${SED_CMD} '' -e 's/"type": "module"/"type": "module",/' package.json
;;
*)
${SED_CMD} -e "s/export default defineConfig/const config = defineConfig/" vite.config.ts
${SED_CMD} -e 's/^\t}$/\t},/' package.json
${SED_CMD} -e "s/^}//" package.json
${SED_CMD} -e 's/"type": "module"/"type": "module",/' package.json
;;
esac
cat >>vite.config.ts<<EOF
Expand Down
Loading