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

Deduplicating modules requiring the same files #27

Open
CMCDragonkai opened this issue Jun 6, 2014 · 2 comments
Open

Deduplicating modules requiring the same files #27

CMCDragonkai opened this issue Jun 6, 2014 · 2 comments

Comments

@CMCDragonkai
Copy link

When I use require to load some json, if I use this file in different modules, browserify compiles the json file into the built script twice, there needs to be a way to deduplicating brfs files just like normal require scripts.

@eskatos
Copy link

eskatos commented Dec 3, 2014

👍

@goto-bus-stop
Copy link
Member

this would be very nice but difficult since the transform only ever knows about the current file.

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

No branches or pull requests

3 participants