# Snapshot report for `test/prefer-builtins.js`

The actual snapshot is saved in `prefer-builtins.js.snap`.

Generated by [AVA](https://ava.li).

## false allows resolving a local module with the same name as a builtin module

> Snapshot 1

    [
      {
        chunkName: 'prefer-builtin',
        code: 'EMPTY_BUNDLE',
        message: 'Generated an empty chunk: "prefer-builtin"',
        toString: Function {},
      },
    ]

## true allows preferring a builtin to a local module of the same name

> Snapshot 1

    [
      {
        code: 'UNRESOLVED_IMPORT',
        importer: 'prefer-builtin.js',
        message: '\'events\' is imported by prefer-builtin.js, but could not be resolved – treating it as an external dependency',
        source: 'events',
        toString: Function {},
        url: 'https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency',
      },
    ]

## warns when importing builtins

> Snapshot 1

    [
      {
        code: 'UNRESOLVED_IMPORT',
        importer: 'builtins.js',
        message: '\'path\' is imported by builtins.js, but could not be resolved – treating it as an external dependency',
        source: 'path',
        toString: Function {},
        url: 'https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency',
      },
    ]
