-
Notifications
You must be signed in to change notification settings - Fork 18
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
Compiling multiple files #6
Comments
Your
and
An then browserify will recursively include all the required files as it encounters them. If the browserified output file depends on some globals from other files, such as jquery, you probably want something like this
If you're having difficulties with browserify itself, you should try running |
I've removed "child" for the sake of simplicity of making it just referencing between 2 javascript files. Looks like the problem is actually an issue with reactify. I'm using reactify because browserify doesn't work (couldn't figure it out). I actually run the following from the command line -
This is what's in my build.browserify.js
parent.js
update - reading more into reactify and I'm guessing the underlying issue is due to a difference between js and jsx syntax? I "should" be doing |
I think you need to add |
the modules needed to be incorporated by doing the following in my build.browserify.js -
And then in the SubApp.js I had to do the following -
Then it could be called in my build.browserify.js like so -
|
See the following SO I created -
http://stackoverflow.com/questions/34422391/uncaught-referenceerror-parent-is-not-defined
I'm unable to add multiple personal project JS files with inheritance as it doesn't seem to compile or recognize their existance. Full Pipeline settings are here -
The text was updated successfully, but these errors were encountered: