current commit
261021.5 · build: do not pass vendored headers when building against shared libs
{
  'variables': {
    'source_dir': '<!("<(python)" -c "import os; print(os.getcwd())")',
  },
  'targets': [
    {
      'target_name': 'binding',
      'sources': [ 'binding.cc' ],
      'includes': ['../common.gypi'],
      'include_dirs': [ '<@(node_shared_libuv_include_dirs)' ],
    },
    {
      'target_name': 'node_modules',
      'type': 'none',
      'dependencies': [
        'binding',
      ],
      # The `exports` in package.json can not reference files outside the package
      # directory. Copy the `binding.node` into the package directory so that
      # it can be exported with the conditional exports.
      'copies': [
        {
          'files': [
            '<(PRODUCT_DIR)/binding.node'
          ],
          'destination': '<(source_dir)/node_modules/esm-package/build',
        },
      ],
    }
  ]
}