mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-21 02:01:35 +00:00
Merge pull request #798 from balena-io/fix-resolvers-on-windows
Fix migrations/jsonstream custom resolvers on windows
This commit is contained in:
commit
975ba5d3f9
@ -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