requirejs require("text!../path/to/text/file") equivalent for browserify

146 Views Asked by At

I have requirejs 3rd party modules that use requirejs and require text files using require("text!somefile.txt")

How can I convert this to something browserify can read without any code change as its 3rd party library?

0

There are 0 best solutions below