MOBILE-2478 webpack: Use node-loader to load node binary files
parent
3a31ef1806
commit
28db063a29
|
@ -26,6 +26,14 @@ const customConfig = {
|
|||
};
|
||||
})()
|
||||
],
|
||||
module: {
|
||||
loaders: [
|
||||
{
|
||||
test: /\.node$/,
|
||||
use: 'node-loader'
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -91,15 +91,16 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@ionic/app-scripts": "3.1.9",
|
||||
"electron-rebuild": "^1.8.1",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-clip-empty-files": "^0.1.2",
|
||||
"gulp-flatten": "^0.4.0",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-slash": "^1.1.3",
|
||||
"node-loader": "^0.6.0",
|
||||
"through": "^2.3.8",
|
||||
"typescript": "~2.6.2",
|
||||
"webpack-merge": "^4.1.2",
|
||||
"electron-rebuild": "^1.8.1"
|
||||
"webpack-merge": "^4.1.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"electron-windows-notifications": "^2.1.1",
|
||||
|
@ -166,4 +167,4 @@
|
|||
"confinement": "classic"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue