Merge pull request #798 from balena-io/fix-resolvers-on-windows

Fix migrations/jsonstream custom resolvers on windows
This commit is contained in:
Page- 2018-11-05 23:31:42 +00:00 committed by GitHub
commit 975ba5d3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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')
},
{