brfs icon indicating copy to clipboard operation
brfs copied to clipboard

Deduplicating modules requiring the same files

Open CMCDragonkai opened this issue 10 years ago • 2 comments

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.

CMCDragonkai avatar Jun 06 '14 05:06 CMCDragonkai

:+1:

eskatos avatar Dec 03 '14 15:12 eskatos

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

goto-bus-stop avatar Mar 14 '18 15:03 goto-bus-stop