JorgenVatle/meteor-vite

[BUG] The build does not compile in production

Closed this issue ยท 4 comments

dispbd commented

In the latest versions, the build in production does not compile. There are no errors in this. The build command seems to be skipped.
Now we have the following command in package.json:

Has the build command changed? Or is it a bug?

Hey there! ๐Ÿ‘‹

Not sure if I understand - the build script does nothing when executed? ๐Ÿ‘€ Do you have an example of terminal output I could take a look at when you try running the command?

dispbd commented

Hi!

We have production through docker. Not sure what this means for you:

Previously, between the lines jorgenvatle:vite-bundler: updating npm dependencies -- picocolors... and DONE 83.6s there was a build process from Vite.
If I'm not mistaken, before version 1.3 it worked.

I didnโ€™t figure out how to build a production Vite without a docker. If you tell me how, I will provide you with more necessary logs.

Sorry about that! ๐Ÿ˜ฑ

Looks like the builds were skipped entirely due to a bad environment check. Just shipped a hotfix to resolve it for you ๐Ÿ™

dispbd commented

Everything is working.
Thank you for efficiency!