Sha256: 7acc5a2625a028e03ed3b519f3f2e07eae939f9a6155c1474bb6be09e98014cf
Contents?: true
Size: 457 Bytes
Versions: 7
Compression:
Stored size: 457 Bytes
Contents
var browserify = require('../'); var vm = require('vm'); var test = require('tap').test; var path = require('path'); var pkg = require('./pkg/package.json'); pkg.__dirname = path.join(__dirname, 'pkg'); test('package', function (t) { t.plan(2); var b = browserify(__dirname + '/pkg/main.js'); b.on('package', function (pkg_) { t.deepEqual(pkg_, pkg); }); b.bundle(function (err) { t.ifError(err); }); });
Version data entries
7 entries across 7 versions & 2 rubygems