Currently none of the paraglide files are present after paraglide-js init. This may cause confusion for newer users, since the files they're supposed to be importing from don't exist.
Proposal
Run the paraglide compiler at the end of paraglide-js init to make sure the files are present.
The main caveat here is that we can't be sure that the files will be in the desired outdir, unless we also configure that during init. The question then is, where do we store it?
Idea: We could ask for the outdir before adding the commands to package.json! That's a separate issue though
Context/Problem
Currently none of the paraglide files are present after
paraglide-js init
. This may cause confusion for newer users, since the files they're supposed to be importing from don't exist.Proposal
Run the paraglide compiler at the end of
paraglide-js init
to make sure the files are present.The main caveat here is that we can't be sure that the files will be in the desired outdir, unless we also configure that during init. The question then is, where do we store it?