diff --git a/src/virtual-machine.js b/src/virtual-machine.js index 5cacafee5..0612261a9 100644 --- a/src/virtual-machine.js +++ b/src/virtual-machine.js @@ -1,4 +1,4 @@ -import {TextEncoder} from 'text-encoding'; +const TextEncoder = require('text-encoding'); const EventEmitter = require('events'); const centralDispatch = require('./dispatch/central-dispatch');