https://blog.meteor.com/leverage-the-power-of-meteor-with-any-client-side-framework-bfb909141008
MIT License
meteor-client-bundler
is a module bundler which will take a bunch of Atmosphere package and put them into a single module, so we can load Meteor's client scripts regardless of what framework we're using to run our server. This project was originally created due to Ionic2CLI-Meteor-Whatsapp and the urge to combine both Ionic along with Meteor, so we can enjoy Ionic's great client and Meteor's powerful DDP client.
$ meteor-client bundle
import
field will be used instead.node_modules/meteor-client.js
.meteor-client.config.json
. An example config can be found in the examples section. The config can contain the following fields:
localhost:3000
.meteor-base
package, as it’s the core file of Meteor’s client, and without it, there will be no Meteor whatsoever.METEOR_PACKAGE_DIRS
. Defaults to the packages
directory under the root directory of the project. For more information, see reference.$ meteor-client bundle --destination meteor.bundle.js --config bundler.config.json
{
"release": "1.5.2",
"runtime": {
"DDP_DEFAULT_CONNECTION_URL": "http://1.0.0.127:8100"
},
"import": [
"accounts-base",
"mys:accounts-phone",
"jalik:[email protected]_1",
"jalik:[email protected]"
],
"npmPackages": []
}
See React Native Meteor Boilerplate.
See Angular CLI - Meteor Example
MIT