Fix migrations/jsonstream custom resolvers on windows

Change-type: patch
This commit is contained in:
Pagan Gazzard 2018-11-05 18:35:33 +00:00
parent 7957bf544e
commit 055648a992

View File

@ -85,11 +85,11 @@ module.exports = function (env) {
module: {
rules: [
{
test: /knex\/lib\/migrate\/index\.js$/,
test: new RegExp(_.escapeRegExp(path.join('knex', 'lib', 'migrate', 'index.js')) + '$'),
use: require.resolve('./hardcode-migrations')
},
{
test: /JSONStream\/index\.js$/,
test: new RegExp(_.escapeRegExp(path.join('JSONStream', 'index.js')) + '$'),
use: require.resolve('./fix-jsonstream')
},
{