2025-04-01 23:48:10 -04:00

19 lines
459 B
JavaScript

'use strict';
module.exports = {
pkg: {
patches: {
'lib/nightmare.js': [
"path.join(__dirname, 'runner.js')",
"path.join(path.dirname(process.execPath), 'nightmare/runner.js')",
],
},
deployFiles: [
['lib/runner.js', 'nightmare/runner.js'],
['lib/frame-manager.js', 'nightmare/frame-manager.js'],
['lib/ipc.js', 'nightmare/ipc.js'],
['lib/preload.js', 'nightmare/preload.js'],
],
},
};