feathersjs-ecosystem / client

[MOVED] Client side Feathers build

Home Page:https://github.com/feathersjs/feathers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

documentation on how to build client

jiangts opened this issue · comments

I'm using ClojureScript which only consumes UMD builds. I only want a subset of the modules packaged here, and couldn't find any docs on how to build a UMD package. All help appreciated! I'm still a noob with browserify/webpack.

It should be fairly straightforward by doing

git clone git@github.com:feathersjs/feathers-client.git
cd feathers-client
npm install

Then modify src/client.js to the imports you need and run

npm run browserify

The compiled files which ship in UMD format will be in the dist/ folder.