Skip to content

Commit

Permalink
Fix component and duo support
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 14, 2015
1 parent b00d963 commit 3eacf6a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
8 changes: 7 additions & 1 deletion index.js
Expand Up @@ -16,10 +16,16 @@

var bail = require('bail');
var ware = require('ware');
var extend = require('extend');
var AttachWare = require('attach-ware')(ware);
var VFile = require('vfile');
var unherit = require('unherit');
var extend;

try {
extend = require('node-extend');
} catch (e) {
extend = require('extend');
}

/*
* Processing pipeline.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -56,7 +56,7 @@
"lint": "npm run lint-api && npm run lint-style",
"make": "npm run lint && npm run test-coverage",
"build-md": "mdast . --quiet",
"build-bundle": "browserify index.js -s AttachWare > unified.js",
"build-bundle": "browserify index.js -s AttachWare -u node-extend > unified.js",
"postbuild-bundle": "esmangle unified.js > unified.min.js",
"build": "npm run build-md && npm run build-bundle"
}
Expand Down
10 changes: 8 additions & 2 deletions unified.js
Expand Up @@ -17,10 +17,16 @@

var bail = require('bail');
var ware = require('ware');
var extend = require('extend');
var AttachWare = require('attach-ware')(ware);
var VFile = require('vfile');
var unherit = require('unherit');
var extend;

try {
extend = require('node-extend');
} catch (e) {
extend = require('extend');
}

/*
* Processing pipeline.
Expand Down Expand Up @@ -286,7 +292,7 @@ function unified(options) {

module.exports = unified;

},{"attach-ware":2,"bail":3,"extend":8,"unherit":12,"vfile":13,"ware":14}],2:[function(require,module,exports){
},{"attach-ware":2,"bail":3,"extend":8,"node-extend":undefined,"unherit":12,"vfile":13,"ware":14}],2:[function(require,module,exports){
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
Expand Down
2 changes: 1 addition & 1 deletion unified.min.js

Large diffs are not rendered by default.

0 comments on commit 3eacf6a

Please sign in to comment.