Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
workaround not needed for bindings since callsites fix
Browse files Browse the repository at this point in the history
  • Loading branch information
igorklopov committed Jul 14, 2017
1 parent e29c883 commit d3228e2
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions dictionary/bindings.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
'use strict';

module.exports = {
pkg: {
patches: {
// WARNING! THIS IS A FALLBACK!
// CREATE A DICTIONARY LIKE LEVELDOWN AND CONTEXTIFY
// USE 'module_root' OPTION TO BINDING
// THIS IS BECAUSE NODE 5+ (NPM 3+) HAS FLAT NODE_MODULES
// AND NATIVE ADDON IS NOT 2 LEVELS UP ANYMORE, BUT NEARBY
'bindings.js': [
'return fileName',
'return dirname(__dirname)' // <- 2 levels up
]
}
}
};

0 comments on commit d3228e2

Please sign in to comment.