We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 78e559b + df42412 commit 5680ac6Copy full SHA for 5680ac6
4 files changed
lib/node-expat.js
@@ -1,7 +1,8 @@
1
'use strict'
2
3
const util = require('util')
4
-const expat = require('bindings')('node_expat')
+const path = require('path')
5
+const expat = require(path.join(__dirname, '..', 'build', 'Release', 'node_expat.node'))
6
const Stream = require('stream').Stream
7
8
const Parser = function (encoding) {
0 commit comments