-
Notifications
You must be signed in to change notification settings - Fork 67
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
Simplify browserify bundles with require
module
#263
Comments
Nice! I started taking a peak at the lift this is going to be .. it's more complex than I hoped, considering everything is written in the |
Speculating here with some pseudocode. Maybe make each piece modular like
Then in
Appreciate input from anyone. |
@wboykinm I don't think so. You could probably add each of the turf modules to this array instead of the main turf library. It's worth a try since this issue might take a while. |
Indeed - @nickpeihl's array idea should work just fine for now. |
@mapsam: Do you have any references or links to the type of architecture design used in dropchop? I'm not familiar with this style of application architecture. |
@nickpeihl all of dropchop is currently written in the "module pattern" (not to be confused with npm modules) and I always find this article super helpful in how to organize code, globals, and share across files: http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html Introducing |
I started work over the weekend to
require
modules within the dropchop source. This would be one of the first steps in removing the dependency on Gulp as we could run browserify as anpm
one-liner rather than streaming each module through Gulp.The text was updated successfully, but these errors were encountered: