D
D
Dmitry Demin2014-08-29 13:18:31
JavaScript
Dmitry Demin, 2014-08-29 13:18:31

Is it possible to build a node module using Browserify without overwriting native modules?

Almost everything is in the title. Task: to collect a node module into one file for further use in node.js.
That is, you need to keep the same require('fs') working.
Is it possible to do this with Browserify? If not, what solutions should be resorted to?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lynn "Coffee Man", 2014-09-01
@keksmen

Key --bare
https://github.com/substack/node-browserify#usage

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question