pluma / literalify

UNMAINTAINED. A browserify transform for replacing require calls with arbitrary code.
MIT License
60 stars 0 forks source link

how to work with require-globify together? #5

Closed AndreLion closed 7 years ago

AndreLion commented 9 years ago

literalify and require-globify are both excellent browserify transform. But literalify doesn't work when it meets require-globify. Such as this example, I tried to add literalify into the browserify command with package.json config:

"literalify": { "react": "window.React" }

But there is no effect. So is there any way to make literalify and require-globify work tognther?

Thanks Andre