mirror of
https://github.com/chjj/blessed.git
synced 2026-02-06 13:36:46 +00:00
refactor browserify fix. see #158.
This commit is contained in:
parent
a42f512c44
commit
956836a9ed
@ -31,8 +31,8 @@ function transform(target) {
|
||||
}
|
||||
|
||||
module.exports = function(file) {
|
||||
if (!~file.indexOf('widget.js')) {
|
||||
return transform();
|
||||
if (path.basename(file) === 'widget.js') {
|
||||
return transform(true);
|
||||
}
|
||||
return transform(true);
|
||||
return transform();
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user