JorgenVatle / meteor-vite

⚡ Replace Meteor's bundler with Vite for blazing fast build-times
MIT License
16 stars 5 forks source link

build for mobile error #53

Closed harry-73 closed 6 months ago

harry-73 commented 6 months ago

Hi,

I have this issue when trying to build:

⚡️ Building packages to make them available to export analyzer...
Errors prevented bundling:                    
While loading plugin `vite` from package `jorgenvatle:vite-bundler`:
<runJavaScript-40>:927:11: Command failed with exit code 1: meteor build /tmp/meteor-vite/inventory/bundle/meteor --directory
Supply the server hostname and port in the --server option for mobile app
builds.

Changes to your project's package version selections:

minifier-css           removed from your project
minifier-js            removed from your project
standard-minifier-css  removed from your project
standard-minifier-js   removed from your project

at makeError (<runJavaScript-40>:927:11)
at execaSync (<runJavaScript-40>:783:17)
at packages/vite/build.js:108:3
at module (packages/vite/build.js:247:2)
at fileEvaluate (packages/modules-runtime.js:336:7)
at Module.require (packages/modules-runtime.js:238:14)
at require (packages/modules-runtime.js:258:21)
at <runJavaScript-40>:2284:1
at <runJavaScript-40>:2290:3
JorgenVatle commented 6 months ago

Oh, I'll see if I can't get a hotfix out for you shortly. 👍

JorgenVatle commented 6 months ago

This should be fixed with jorgenvatle:vite-bundler@v1.6.1. Let me know how it goes! 🤞

harry-73 commented 6 months ago

It works. Thanks.

JorgenVatle commented 6 months ago

Perfect! Thanks for confirming. 🙌