Reputation: 93754
After adding mobile platforms, meteor build will automatically build all the mobile platform and the backend server.
Is it possible to only build the backend server?
Upvotes: 3
Views: 1081
Reputation: 28285
Yes just give it parm --server-only
to skip mobile client code
as in
meteor --release x.x.x build --server https://example.com --directory /my/bundle/foobar --server-only # replace x.x.x with your meteor release
I know this works because I use this technique in the process I built to rebuild my entire webapp and this is working in production just fine.
Upvotes: 0
Reputation: 75945
Unfortunately the build feature doesn't do this.
There is a deprecated meteor bundle
feature that still works though:
meteor bundle app.tar.gz
Builds a app.tar.gz
bundle containing the server bundle.
Upvotes: 1