Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export latest imba.js file #16

Closed
coderberry opened this issue Aug 21, 2015 · 1 comment
Closed

Export latest imba.js file #16

coderberry opened this issue Aug 21, 2015 · 1 comment
Labels

Comments

@coderberry
Copy link

Is there a way to export the latest imba.js library file? I see that all your examples require imba.js

@somebee
Copy link
Member

somebee commented Aug 22, 2015

CLI

I just commited a simple addition to the CLI (as per your request). Now you can execute imba export-runtime <path> to export imba.js into the specified path. If are at the root of your project, simply execute imba export-runtime .. If you add -m you get the minified version. Will be included in a new version later today.

Browserify

If you use browserify you can simply do require 'imba'in your app (usually at the top of the 'main' file). You will need to have imba installed locally in your project though (not only npm install -g imba, but also npm install imba --save).

Downlaod

It is included in the repo at lib/browser. You can download it from there, but I see that it is not a very good workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants