Closed thom4parisot closed 9 years ago
package.json
is not read when you programmatically use browserify (and at least, you need a way to disable an option if multiple builds requires different configurations for the same project).
Oh for sure -- but whether the options are passed through package, the API or the CLI, they should all show up in package_options, which is poorly named on my part.
What a headache to have a module invoked from three different environments!
On Fri, Jan 30, 2015 at 12:38 PM, Thomas Parisot notifications@github.com wrote:
package.json is not read when you programmatically use browserify (and at least, you need a way to disable an option if multiple builds requires different configurations for the same project).
— Reply to this email directly or view it on GitHub https://github.com/wilson428/node-lessify/pull/12#issuecomment-72239215.
christopher.e.wilson@gmail.com 434.242.9728
So as
browserify().transform('node-lessify', { textMode: true })
can work.