# Snapshot report for `test/test.js`

The actual snapshot is saved in `test.js.snap`.

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

## attributes

> Snapshot 1

    [
      {
        code: `(function (factory) {␊
        	typeof define === 'function' && define.amd ? define(factory) :␊
        	factory();␊
        }((function () { 'use strict';␊
        ␊
        ␊
        ␊
        })));␊
        `,
        fileName: 'joker.js',
        source: undefined,
      },
      {
        code: undefined,
        fileName: 'joker.css',
        source: Buffer @Uint8Array [
          2a207b20 77696474 683a2031 3030253b 207d0a
        ],
      },
      {
        code: undefined,
        fileName: 'index.html',
        source: `␊
        <!doctype html>␊
        <html batsignal="on" lang="bat">␊
          <head>␊
            <meta charset="utf-8">␊
            <title>Rollup Bundle</title>␊
            <link href="joker.css" rel="stylesheet" data-vilian="joker">␊
          </head>␊
          <body>␊
            <script src="joker.js" defer="true"></script>␊
          </body>␊
        </html>`,
      },
    ]

## css

> Snapshot 1

    [
      {
        code: `(function (factory) {␊
        	typeof define === 'function' && define.amd ? define(factory) :␊
        	factory();␊
        }((function () { 'use strict';␊
        ␊
        ␊
        ␊
        })));␊
        `,
        fileName: 'joker.js',
        source: undefined,
      },
      {
        code: undefined,
        fileName: 'joker.css',
        source: Buffer @Uint8Array [
          2a207b20 77696474 683a2031 3030253b 207d0a
        ],
      },
      {
        code: undefined,
        fileName: 'index.html',
        source: `␊
        <!doctype html>␊
        <html lang="en">␊
          <head>␊
            <meta charset="utf-8">␊
            <title>Rollup Bundle</title>␊
            <link href="joker.css" rel="stylesheet">␊
          </head>␊
          <body>␊
            <script src="joker.js" type="module"></script>␊
          </body>␊
        </html>`,
      },
    ]

## default options

> Snapshot 1

    [
      {
        code: `(function (factory) {␊
        	typeof define === 'function' && define.amd ? define(factory) :␊
        	factory();␊
        }((function () { 'use strict';␊
        ␊
        ␊
        ␊
        })));␊
        `,
        fileName: 'batman.js',
        source: undefined,
      },
      {
        code: undefined,
        fileName: 'index.html',
        source: `␊
        <!doctype html>␊
        <html lang="en">␊
          <head>␊
            <meta charset="utf-8">␊
            <title>Rollup Bundle</title>␊
            ␊
          </head>␊
          <body>␊
            <script src="batman.js"></script>␊
          </body>␊
        </html>`,
      },
    ]

## esm

> Snapshot 1

    [
      {
        code: `␊
        `,
        fileName: 'batman.js',
        source: undefined,
      },
      {
        code: undefined,
        fileName: 'index.html',
        source: `␊
        <!doctype html>␊
        <html lang="en">␊
          <head>␊
            <meta charset="utf-8">␊
            <title>Rollup Bundle</title>␊
            ␊
          </head>␊
          <body>␊
            <script src="batman.js" type="module"></script>␊
          </body>␊
        </html>`,
      },
    ]

## iife

> Snapshot 1

    [
      {
        code: `(function () {␊
        	'use strict';␊
        ␊
        ␊
        ␊
        }());␊
        `,
        fileName: 'batman.js',
        source: undefined,
      },
      {
        code: undefined,
        fileName: 'index.html',
        source: `␊
        <!doctype html>␊
        <html lang="en">␊
          <head>␊
            <meta charset="utf-8">␊
            <title>Rollup Bundle</title>␊
            ␊
          </head>␊
          <body>␊
            <script src="batman.js"></script>␊
          </body>␊
        </html>`,
      },
    ]

## imports

> Snapshot 1

    [
      {
        code: `(function (factory) {␊
        	typeof define === 'function' && define.amd ? define(factory) :␊
        	factory();␊
        }((function () { 'use strict';␊
        ␊
        ␊
        ␊
        })));␊
        `,
        fileName: 'robin.js',
        source: undefined,
      },
      {
        code: undefined,
        fileName: 'index.html',
        source: `␊
        <!doctype html>␊
        <html lang="en">␊
          <head>␊
            <meta charset="utf-8">␊
            <title>Rollup Bundle</title>␊
            ␊
          </head>␊
          <body>␊
            <script src="robin.js" type="module"></script>␊
          </body>␊
        </html>`,
      },
    ]

## options

> Snapshot 1

    [
      {
        code: `(function (factory) {␊
        	typeof define === 'function' && define.amd ? define(factory) :␊
        	factory();␊
        }((function () { 'use strict';␊
        ␊
        ␊
        ␊
        })));␊
        `,
        fileName: 'batman.js',
        source: undefined,
      },
      {
        code: undefined,
        fileName: 'batman.html',
        source: `␊
        <!doctype html>␊
        <html lang="en">␊
          <head>␊
            <meta charset="utf-8">␊
            <title>Batcave</title>␊
            ␊
          </head>␊
          <body>␊
            <script src="batcave/batman.js"></script>␊
          </body>␊
        </html>`,
      },
    ]

## template

> Snapshot 1

    [
      {
        code: `(function (factory) {␊
        	typeof define === 'function' && define.amd ? define(factory) :␊
        	factory();␊
        }((function () { 'use strict';␊
        ␊
        ␊
        ␊
        })));␊
        `,
        fileName: 'batman.js',
        source: undefined,
      },
      {
        code: undefined,
        fileName: 'index.html',
        source: '<html><body><main></main></body></html>',
      },
    ]

## unsupported output format

> Snapshot 1

    [
      {
        code: `'use strict';␊
        ␊
        `,
        fileName: 'batman.js',
        source: undefined,
      },
      {
        code: undefined,
        fileName: 'index.html',
        source: `␊
        <!doctype html>␊
        <html lang="en">␊
          <head>␊
            <meta charset="utf-8">␊
            <title>Rollup Bundle</title>␊
            ␊
          </head>␊
          <body>␊
            <script src="batman.js" type="module"></script>␊
          </body>␊
        </html>`,
      },
    ]

> Snapshot 2

    [
      {
        chunkName: 'batman',
        code: 'EMPTY_BUNDLE',
        message: 'Generated an empty chunk: "batman"',
        toString: Function {},
      },
      {
        code: 'PLUGIN_WARNING',
        message: 'plugin-html: The output format \'cjs\' is not directly supported. A custom `template` is probably required. Supported formats include: es, esm, iife, umd',
        plugin: 'html',
        toString: Function {},
      },
    ]
