Closed jmerrifield closed 10 years ago
I'm working on a project which uses browserify to inline JSON files (e.g var config = require('config/app-config.json)).
var config = require('config/app-config.json
proxyquireify appears to add the prelude to the beginning of each JSON file, making it invalid and therefore breaks in the downstream build process.
proxyquireify
Is there a way to prevent proxyquireify from adding the prelude to JSON files?
That should definitely be fixed since we now check specifically for .js files before we transform. Could you please verify?
.js
I'm working on a project which uses browserify to inline JSON files (e.g
var config = require('config/app-config.json
)).proxyquireify
appears to add the prelude to the beginning of each JSON file, making it invalid and therefore breaks in the downstream build process.Is there a way to prevent
proxyquireify
from adding the prelude to JSON files?