runtimejs / runtime

[not maintained] Lightweight JavaScript library operating system for the cloud
http://runtimejs.org
Apache License 2.0
1.93k stars 128 forks source link

Runtimeify: Add extra files? #51

Closed facekapow closed 9 years ago

facekapow commented 9 years ago

How do I embed extra, non-js files into the initrd created by runtimeify? Can I add a folder? If runtimeify can't do this, can I edit the initrd manually and add it myself?

iefserge commented 9 years ago

@ArielAbreu it's possible to add files using Browserify https://www.npmjs.com/package/brfs transform. -t transform option needs to be exposed in runtimeify though.

piranna commented 9 years ago

What are the main differences between runtimeify y browserify? Maybe it could be done as a browserify plugin or tranform... El 16/06/2015 13:27, "Serge" notifications@github.com escribió:

@ArielAbreu https://github.com/ArielAbreu it's possible to add files using Browserify https://www.npmjs.com/package/brfs transform. -t transform option needs to be exposed in runtimeify though.

— Reply to this email directly or view it on GitHub https://github.com/runtimejs/runtime/issues/51#issuecomment-112390830.

iefserge commented 9 years ago

@piranna runtimeify will do more stuff in a future, like it's going to replace builtins with runtimejs's and bundle source maps in a way that's supported by runtime.