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 = {
|
module.exports = {
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -91,15 +91,16 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ionic/app-scripts": "3.1.9",
|
"@ionic/app-scripts": "3.1.9",
|
||||||
|
"electron-rebuild": "^1.8.1",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
"gulp-clip-empty-files": "^0.1.2",
|
"gulp-clip-empty-files": "^0.1.2",
|
||||||
"gulp-flatten": "^0.4.0",
|
"gulp-flatten": "^0.4.0",
|
||||||
"gulp-rename": "^1.2.2",
|
"gulp-rename": "^1.2.2",
|
||||||
"gulp-slash": "^1.1.3",
|
"gulp-slash": "^1.1.3",
|
||||||
|
"node-loader": "^0.6.0",
|
||||||
"through": "^2.3.8",
|
"through": "^2.3.8",
|
||||||
"typescript": "~2.6.2",
|
"typescript": "~2.6.2",
|
||||||
"webpack-merge": "^4.1.2",
|
"webpack-merge": "^4.1.2"
|
||||||
"electron-rebuild": "^1.8.1"
|
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"electron-windows-notifications": "^2.1.1",
|
"electron-windows-notifications": "^2.1.1",
|
||||||
|
|
Loading…
Reference in New Issue