mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-20 17:52:51 +00:00
Fix migrations/jsonstream custom resolvers on windows
Change-type: patch
This commit is contained in:
parent
7957bf544e
commit
055648a992
@ -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')
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user