hughsk/envify

How to configure it with karma.conf?

Opened this issue · 1 comments

browserify: {
            debug: true,
            transform: [
                'babelify',
                ['envify', 'browserify-istanbul', { instrumenter: require('isparta') }]
            ]
        }

I tried somenthing like this but i got an error:
node_modules/karma-browserify/node_modules/browserify/index.js:313 opts._flags = '_flags' in opts ? opts._flags : self._options;Cannot use 'in' operator to search for '_flags' in envify

am i missing some configuration?

browserify: {
            debug: true,
            transform: [
                'envify',
                'babelify',
                [ 'browserify-istanbul', { instrumenter: require('isparta') }]
            ]
        }

Sorry my fault. in this way works. Could be added this in the README.md? it can be useful for others i think