diff --git a/public/src/utils.js b/public/src/utils.js index d214370d8a..a5c7827635 100644 --- a/public/src/utils.js +++ b/public/src/utils.js @@ -5,7 +5,7 @@ if ('undefined' === typeof window) { fs = require('fs'); - XRegExp = require('xregexp').XRegExp; + XRegExp = require('xregexp'); process.profile = function(operation, start) { console.log('%s took %d milliseconds', operation, process.elapsedTimeSince(start));