gx
chenyc
2025-06-12 7b72ac13a83764a662159d4a49b7fffb90476ecb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'use strict';
 
module.exports = {
  pkg: {
    patches: {
      'lib/phantom.js': [
        "__dirname + '/shim/index.js'",
        "_path2.default.join(_path2.default.dirname(process.execPath), 'phantom/index.js')",
      ],
    },
    deployFiles: [
      ['lib/shim/index.js', 'phantom/index.js'],
      [
        'lib/shim/function_bind_polyfill.js',
        'phantom/function_bind_polyfill.js',
      ],
    ],
  },
};