diff options
Diffstat (limited to 'includes/search/node_modules/pkg/dictionary/express.js')
-rw-r--r-- | includes/search/node_modules/pkg/dictionary/express.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/includes/search/node_modules/pkg/dictionary/express.js b/includes/search/node_modules/pkg/dictionary/express.js new file mode 100644 index 0000000..45a3ae2 --- /dev/null +++ b/includes/search/node_modules/pkg/dictionary/express.js @@ -0,0 +1,14 @@ +'use strict'; + +module.exports = { + pkg: { + patches: { + 'lib/view.js': [ + 'path = join(this.root, path)', + 'path = process.pkg.path.resolve(this.root, path)', // for 3.x + 'loc = resolve(root, name)', + 'loc = process.pkg.path.resolve(root, name)', // for 4.x + ], + }, + }, +}; |