Skip to content

Commit

Permalink
fix broken build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
heapwolf committed Jan 7, 2024
1 parent f9b76e3 commit e919416
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion templates/react-ts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function main () {
// The second argument to this program will be the target-OS specifc
// directory for where to copy your build artifacts
//
const target = path.resolve(process.argv[2])
const target = path.resolve(process.env.PREFIX)

//
// If the watch command is specified, let esbuild start its server
Expand Down
2 changes: 1 addition & 1 deletion templates/react/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function main () {
// The second argument to this program will be the target-OS specifc
// directory for where to copy your build artifacts
//
const target = path.resolve(process.argv[2])
const target = path.resolve(process.env.PREFIX)

//
// If the watch command is specified, let esbuild start its server
Expand Down
2 changes: 1 addition & 1 deletion templates/svelte/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function main () {
// The second argument to this program will be the target-OS specifc
// directory for where to copy your build artifacts
//
const target = path.resolve(process.argv[2])
const target = path.resolve(process.env.PREFIX)

//
// If the watch command is specified, let esbuild start its server
Expand Down
2 changes: 1 addition & 1 deletion templates/tonic/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function main () {
// The second argument to this program will be the target-OS specifc
// directory for where to copy your build artifacts
//
const target = path.resolve(process.argv[2])
const target = path.resolve(process.env.PREFIX)

//
// If the watch command is specified, let esbuild start its server
Expand Down
2 changes: 1 addition & 1 deletion templates/vanilla/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function main () {
// The second argument to this program will be the target-OS specifc
// directory for where to copy your build artifacts
//
const target = path.resolve(process.argv[2])
const target = path.resolve(process.env.PREFIX)

//
// If the watch command is specified, let esbuild start its server
Expand Down
2 changes: 1 addition & 1 deletion templates/vue/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function main () {
// The second argument to this program will be the target-OS specifc
// directory for where to copy your build artifacts
//
const target = path.resolve(process.argv[2])
const target = path.resolve(process.env.PREFIX)

//
// If the watch command is specified, let esbuild start its server
Expand Down

0 comments on commit e919416

Please sign in to comment.