Enderchief / gleam-tools

monorepo for vite-gleam & ts-gleam
MIT License
36 stars 5 forks source link

Default target build to javascript. #1

Closed brzezinskip closed 7 months ago

brzezinskip commented 8 months ago

I've ran into an issue where I was getting an error from the plugin

error when starting dev server:                                                  
Error: ENOENT: no such file or directory, scandir './build/dev/javascript/app_name'     

and it took me a while to figure out that I was missing target=javascript in my gleam.toml. Would it make sense to default it to javascript? If so, here's a PR :smile:

Enderchief commented 7 months ago

That is a great idea. Thank you