[
  {
    "path": ".changeset/README.md",
    "content": "# Changesets\n\nHello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works\nwith multi-package repos, or single-package repos to help you version and publish your code. You can\nfind the full documentation for it [in our repository](https://github.com/changesets/changesets)\n\nWe have a quick list of common questions to get you started engaging with this project in\n[our documentation](https://github.com/changesets/changesets/blob/master/docs/common-questions.md)\n"
  },
  {
    "path": ".changeset/config.json",
    "content": "{\n\t\"$schema\": \"https://unpkg.com/@changesets/config@1.3.0/schema.json\",\n\t\"changelog\": [\n\t\t\"@changesets/changelog-github\",\n\t\t{ \"repo\": \"developit/microbundle\" }\n\t],\n\t\"commit\": false,\n\t\"linked\": [],\n\t\"access\": \"public\",\n\t\"baseBranch\": \"master\",\n\t\"updateInternalDependencies\": \"patch\",\n\t\"ignore\": []\n}\n"
  },
  {
    "path": ".changeset/gold-berries-march.md",
    "content": "---\n'microbundle': patch\n---\n\nFix indentation style in `mangle.json` not preserved\n"
  },
  {
    "path": ".changeset/swift-plums-fix.md",
    "content": "---\n'microbundle': patch\n---\n\nSilence Rollup's noisy (and usually harmless) `The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten.` warnings\n"
  },
  {
    "path": ".changeset/violet-falcons-dream.md",
    "content": "---\n'microbundle': patch\n---\n\nFixes positioning bug with UMD sourcemaps\n"
  },
  {
    "path": ".editorconfig",
    "content": "root = true\n\n[*]\nindent_style = tab\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\n\n[{package.json,.*rc,*.yml}]\nindent_style = space\nindent_size = 2\n\n[*.md]\ntrim_trailing_whitespace = false\n"
  },
  {
    "path": ".eslintrc",
    "content": "{\n  \"extends\": [\n    \"eslint-config-developit\",\n    \"prettier\",\n    \"plugin:prettier/recommended\"\n  ],\n  \"plugins\": [\n    \"prettier\"\n  ],\n  \"rules\": {\n    \"brace-style\": \"off\",\n    \"comma-dangle\": [\"warn\", \"always-multiline\"],\n    \"indent\": \"off\",\n    \"require-atomic-updates\": \"off\"\n  },\n  \"settings\": {\n    \"react\": {\n      \"version\": \"16.6\"\n    }\n  },\n  \"ignorePatterns\": [\n    \"dist\"\n  ]\n}\n"
  },
  {
    "path": ".github/workflows/nodejs.yml",
    "content": "name: Node CI\n\non:\n  pull_request: {}\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [12.x, 14.x]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: npm\n      - run: npm ci --ignore-scripts\n      - name: npm build and test\n        run: npm test\n"
  },
  {
    "path": ".github/workflows/release.yml",
    "content": "name: Release\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits\n          fetch-depth: 0\n\n      - name: Setup Node.js 22.x\n        uses: actions/setup-node@v4\n        with:\n          node-version: 22.x\n\n      - name: Install Dependencies\n        run: npm install\n\n      - name: Create Release Pull Request or Publish to npm\n        id: changesets\n        uses: changesets/action@master\n        with:\n          # This expects you to have a script called release which does a build for your packages and calls changeset publish\n          publish: npm run release\n        env:\n          GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n"
  },
  {
    "path": ".github/workflows/size.yml",
    "content": "name: compressed-size\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: compressed-size-action\n        uses: preactjs/compressed-size-action@v2\n        with:\n          pattern: 'dist/!(*.js.map)'\n          build-script: build\n          repo-token: '${{ secrets.GITHUB_TOKEN }}'\n\n      - name: compressed-size-action\n        uses: preactjs/compressed-size-action@v2\n        with:\n          pattern: 'test/fixtures/**/dist/!(*.map)'\n          # We're using this to report size differences, not test, so update snapshots if they fail.\n          # The CI can catch the test failures instead.\n          build-script: 'test -- -u'\n          repo-token: '${{ secrets.GITHUB_TOKEN }}'\n"
  },
  {
    "path": ".gitignore",
    "content": "node_modules\n.DS_Store\n*.log\n.rpt2_cache\n.rts2_cache_cjs\n.rts2_cache_es\n.rts2_cache_umd\nbuild\ndist\nyarn.lock\n.vscode\n.idea\n.rts2*\nsizes.csv\ntest/fixtures/visualizer/stats.html\n"
  },
  {
    "path": ".prettierignore",
    "content": "dist/"
  },
  {
    "path": "CHANGELOG.md",
    "content": "# microbundle\n\n## 0.15.1\n\n### Patch Changes\n\n- [`cebafa1`](https://github.com/developit/microbundle/commit/cebafa121953a771f010b3cfd250a83bfc754e2c) [#961](https://github.com/developit/microbundle/pull/961) Thanks [@zyrong](https://github.com/zyrong)! - Fix for when multiple entries reference different CSS, only the CSS referenced by the first entry will be packaged\n\n* [`9a4e2b2`](https://github.com/developit/microbundle/commit/9a4e2b2096d3824661738edb142b4658cf3d9d0b) [#954](https://github.com/developit/microbundle/pull/954) Thanks [@rschristian](https://github.com/rschristian)! - Bumps Node target to v12\n\n- [`4ad4b76`](https://github.com/developit/microbundle/commit/4ad4b768f0ef6f434b753c4a42cdcfe85d01c404) [#967](https://github.com/developit/microbundle/pull/967) Thanks [@agilgur5](https://github.com/agilgur5)! - deps: upgrade rpt2 to latest v0.32.0 to fix monorepos\n\n* [`6018e58`](https://github.com/developit/microbundle/commit/6018e586b91125233026ca977a97b72bb6082ec6) [#956](https://github.com/developit/microbundle/pull/956) Thanks [@rschristian](https://github.com/rschristian)! - Silences warnings when using Node builtins with the 'node:...' protocol on imports. Warnings related to bare usage of these builtins were already silenced.\n\n- [`88241dd`](https://github.com/developit/microbundle/commit/88241ddf8fc3ac18cfc1ca8ced99a413f8d2b488) [#968](https://github.com/developit/microbundle/pull/968) Thanks [@PeterBurner](https://github.com/PeterBurner)! - deps: upgrade babel-plugin-transform-async-to-promises to latest v0.8.18 to fix #565\n\n* [`e72377a`](https://github.com/developit/microbundle/commit/e72377a001cc5925ff25aadbe26fdb96a0dab3a4) [#964](https://github.com/developit/microbundle/pull/964) Thanks [@rschristian](https://github.com/rschristian)! - Fixes filename generation for es & modern outputs. Both 'jsnext:main' and 'esmodule' were incorrectly ignored.\n\n## 0.15.0\n\n### Minor Changes\n\n- [`6f6e080`](https://github.com/developit/microbundle/commit/6f6e080f3b9ec9a223d79d24eb6e6c8dd5d72cf7) [#950](https://github.com/developit/microbundle/pull/950) Thanks [@rschristian](https://github.com/rschristian)! - Microbundle will now output ESM using `.mjs` as the file extension when the package type is CJS\n\n* [`242754f`](https://github.com/developit/microbundle/commit/242754f43cce1c25a6c475be64bbd2a525eb7cf0) [#949](https://github.com/developit/microbundle/pull/949) Thanks [@rschristian](https://github.com/rschristian)! - Add --visualize flag to generate build output stats\n\n### Patch Changes\n\n- [`c4532cc`](https://github.com/developit/microbundle/commit/c4532cc9ccd846e6bc8176414ddf2c0fc22af1f1) [#940](https://github.com/developit/microbundle/pull/940) Thanks [@rschristian](https://github.com/rschristian)! - Adds information about `--compress` flag's default value w/ different targets\n\n* [`b51b855`](https://github.com/developit/microbundle/commit/b51b855794866f3e6a0ef7dfc5672d5c1c717831) [#935](https://github.com/developit/microbundle/pull/935) Thanks [@mycoin](https://github.com/mycoin)! - Don't attempt to write build stats in watch mode when there has been a build error/sizeInfo is `undefined`\n\n- [`1d0e305`](https://github.com/developit/microbundle/commit/1d0e305d89ad010793c57fc451991a79907e1f3f) [#941](https://github.com/developit/microbundle/pull/941) Thanks [@rschristian](https://github.com/rschristian)! - Ensures TS plugin will begin its search for a 'tsconfig.json' in the set cwd\n\n* [`f04c85a`](https://github.com/developit/microbundle/commit/f04c85a1885a28a16c767665a1d5f17b13834406) [#926](https://github.com/developit/microbundle/pull/926) Thanks [@developit](https://github.com/developit)! - Fix mangle.json being overwritten with `[object Object]`\n\n- [`ecb0b02`](https://github.com/developit/microbundle/commit/ecb0b022912397bcf98550c1a783e9e0534f33e5) [#947](https://github.com/developit/microbundle/pull/947) Thanks [@rschristian](https://github.com/rschristian)! - Ensures hoisted node_modules are excluded from babel\n\n* [`392d63e`](https://github.com/developit/microbundle/commit/392d63ef437f25403c03826f77790722d0234b58) [#919](https://github.com/developit/microbundle/pull/919) Thanks [@rschristian](https://github.com/rschristian)! - Fixes CSS output from being overwritten when also generating .cjs\n\n- [`fb0a437`](https://github.com/developit/microbundle/commit/fb0a43780a7462f4876955c3412638e51a7adb97) [#930](https://github.com/developit/microbundle/pull/930) Thanks [@rschristian](https://github.com/rschristian)! - Documenting --jsxFragment flag\n\n* [`8223eba`](https://github.com/developit/microbundle/commit/8223ebaee8d750e9757b9ddbfef6384fa00f22ac) [#948](https://github.com/developit/microbundle/pull/948) Thanks [@rschristian](https://github.com/rschristian)! - Corrects formatting in build completion message w/ dynamic import is used\n\n## 0.14.2\n\n### Patch Changes\n\n- [`dd0bdde`](https://github.com/developit/microbundle/commit/dd0bdde9c6ae7d0690fa73aead1c1744ae3b086a) [#904](https://github.com/developit/microbundle/pull/904) Thanks [@rschristian](https://github.com/rschristian)! - Added missing CLI doc for 'jsxImportSource' and correcting the Examples section of the '--help' output\n\n## 0.14.1\n\n### Patch Changes\n\n- [`2a0ca88`](https://github.com/developit/microbundle/commit/2a0ca8843f34c3773bb41eb3f8f571fb6b2b2d52) [#882](https://github.com/developit/microbundle/pull/882) Thanks [@MiKr13](https://github.com/MiKr13)! - feat: :sparkles: Closes #497: preserve trailing newline in mangle.json\n\n* [`26f382a`](https://github.com/developit/microbundle/commit/26f382a989e86fdcc5149f73f7b6c9d314a4bf37) [#895](https://github.com/developit/microbundle/pull/895) Thanks [@rschristian](https://github.com/rschristian)! - Completion message shows pkg's actual name, rather than safe name\n\n## 0.14.0\n\n### Minor Changes\n\n- [`1b61029`](https://github.com/developit/microbundle/commit/1b6102966440bd7000e0e457f8c0b7eeb7e05593) [#867](https://github.com/developit/microbundle/pull/867) Thanks [@bouchenoiremarc](https://github.com/bouchenoiremarc)! - - Add support for Module Workers with a new `--workers` flag\n\n### Patch Changes\n\n- [`5e93a0e`](https://github.com/developit/microbundle/commit/5e93a0e4cc28ea8f080a08e3a8530b6bfdf25f42) [#853](https://github.com/developit/microbundle/pull/853) Thanks [@developit](https://github.com/developit)! - Fix crash when traversing `\"exports\"` objects (#852)\n\n* [`96b85da`](https://github.com/developit/microbundle/commit/96b85da1e32b4ffbef9d83387ff399d8b3ee3852) [#887](https://github.com/developit/microbundle/pull/887) Thanks [@developit](https://github.com/developit)! - When using `--target node`, resolve \"node\" conditional Package Export keys, otherwise resolve \"browser\" keys.\n\n- [`5d0465b`](https://github.com/developit/microbundle/commit/5d0465b39bccff31673d351fc9d29cb4c470407d) [#875](https://github.com/developit/microbundle/pull/875) Thanks [@dwightjack](https://github.com/dwightjack)! - Preserve terser annotations in compressed bundle\n\n* [`b1a6374`](https://github.com/developit/microbundle/commit/b1a637486234a2ae784ccf0c512321e2d3efef7c) [#858](https://github.com/developit/microbundle/pull/858) Thanks [@bouchenoiremarc](https://github.com/bouchenoiremarc)! - - Allow the minify options `compress` and `mangle` to be set as booleans\n\n- [`2980336`](https://github.com/developit/microbundle/commit/29803364fe54cc1a7a8543d61e694c90b4cdce6a) [#865](https://github.com/developit/microbundle/pull/865) Thanks [@rschristian](https://github.com/rschristian)! - Expands generateTypes flag to support libs with TS entrypoints\n\n## 0.13.3\n\n### Patch Changes\n\n- [`3534815`](https://github.com/developit/microbundle/commit/3534815ddabecc080cdec42cd1f6009a81a48ec9) [#848](https://github.com/developit/microbundle/pull/848) Thanks [@developit](https://github.com/developit)! - Bugfix: preserve Terser annotations like `/*@__NOINLINE__*/` during Babel pass\n\n## 0.13.2\n\n### Patch Changes\n\n- [`e3f1933`](https://github.com/developit/microbundle/commit/e3f1933773fd17bb1d97de0dad94d899acee7598) [#847](https://github.com/developit/microbundle/pull/847) Thanks [@developit](https://github.com/developit)! - - Upgrade to Terser [5.7](https://github.com/terser/terser/blob/master/CHANGELOG.md#v570) to re-enable support for `reduce_funcs:false` in `mangle.json` configuration.\n\n* [`86371f0`](https://github.com/developit/microbundle/commit/86371f0db6386089c66cd474a7121d9dbee4c0cf) [#784](https://github.com/developit/microbundle/pull/784) Thanks [@rschristian](https://github.com/rschristian)! - Allows users to customize the modern output's filename using \"exports\" like they can with \"esmodules\"\n\n## 0.13.1\n\n### Patch Changes\n\n- [`54402ac`](https://github.com/developit/microbundle/commit/54402ac43cc2f7ccb85fe5df2e9828c7f24091a0) [#830](https://github.com/developit/microbundle/pull/830) Thanks [@JounQin](https://github.com/JounQin)! - fix: add generateTypes cli option, check false value correctly\n\n* [`edcd777`](https://github.com/developit/microbundle/commit/edcd777cfaedfdb436c62b5dcb3cff6291268e4c) [#823](https://github.com/developit/microbundle/pull/823) Thanks [@rschristian](https://github.com/rschristian)! - Ensures ambient type declaration for CSS Modules is included in the published bundle\n\n- [`d87a5dc`](https://github.com/developit/microbundle/commit/d87a5dc286a1edba92ca3ec5b534807688c90854) Thanks [@developit](https://github.com/developit)! - - Fix `--sourcemap=false` to match `--no-sourcemap` and actually turn sourcemaps off.\n\n* [`6f1a20f`](https://github.com/developit/microbundle/commit/6f1a20fa17467176f9bc1acc2b0f78784d28d110) [#777](https://github.com/developit/microbundle/pull/777) Thanks [@rschristian](https://github.com/rschristian)! - Fixing a bug that would cause a CSS file to be generated to match each JS build output\n\n- [`25b73d2`](https://github.com/developit/microbundle/commit/25b73d22caeac7cf74b0533401318a5becc29c11) [#834](https://github.com/developit/microbundle/pull/834) Thanks [@cometkim](https://github.com/cometkim)! - Add support for configuration overrides using the `publishConfig` package.json field.\n\n* [`0a4cddf`](https://github.com/developit/microbundle/commit/0a4cddf98ab54c41f0b2ece1d626e459f73c9997) [#842](https://github.com/developit/microbundle/pull/842) Thanks [@ForsakenHarmony](https://github.com/ForsakenHarmony)! - fix default extension to cjs for package.json \"type\":\"module\"\n\n- [`4f7fbc4`](https://github.com/developit/microbundle/commit/4f7fbc4a0b9e03b9c33d10b21c66b8ddef7524a7) Thanks [@developit](https://github.com/developit)! - Fix `transform-fast-rest` to support referencing `...rest` params from within closures.\n\n* [`0c91795`](https://github.com/developit/microbundle/commit/0c917959570c788929766c6f4cd55f3b49433920) [#841](https://github.com/developit/microbundle/pull/841) Thanks [@rschristian](https://github.com/rschristian)! - Ensures JS format is not included in CSS filename output\n\n## 0.13.0\n\n### Minor Changes\n\n- [`bd5d15e`](https://github.com/developit/microbundle/commit/bd5d15e17c882f2090f519d342dd89e694456ab8) [#738](https://github.com/developit/microbundle/pull/738) Thanks [@wardpeet](https://github.com/wardpeet)! - Upgrade rollup to version latest and upgrade all its dependencies\n\n* [`967f8d5`](https://github.com/developit/microbundle/commit/967f8d532785aa7bf8636c5a759759a3e72dcf56) [#769](https://github.com/developit/microbundle/pull/769) Thanks [@developit](https://github.com/developit)! - Add `--css inline` option. The default CSS output for all formats is now external files (as it was supposed to be).\n\n- [`8142704`](https://github.com/developit/microbundle/commit/8142704399efe6b4f34219c711a3932431781b36) [#741](https://github.com/developit/microbundle/pull/741) Thanks [@whitetrefoil](https://github.com/whitetrefoil)! - Use user's typescript first, fallback to bundled\n\n### Patch Changes\n\n- [`12668b9`](https://github.com/developit/microbundle/commit/12668b993906a0267c53c3601ce89d1c0ddfbc27) [#687](https://github.com/developit/microbundle/pull/687) Thanks [@developit](https://github.com/developit)! - Add friendly microbundle-specific errors when modules can't be resolved.\n\n* [`8b60fc8`](https://github.com/developit/microbundle/commit/8b60fc86cbc493e23230a58cd0c99e2e0c675974) [#754](https://github.com/developit/microbundle/pull/754) Thanks [@stipsan](https://github.com/stipsan)! - Enable sourcemaps for CSS\n\n- [`fdafaf7`](https://github.com/developit/microbundle/commit/fdafaf7a4ad76b1757e2c0ff39050f8e11e2f1d5) [#764](https://github.com/developit/microbundle/pull/764) Thanks [@bakerkretzmar](https://github.com/bakerkretzmar)! - Add support for generating inline sourcemaps\n\n* [`52a1771`](https://github.com/developit/microbundle/commit/52a177190eb45791cb4b44d4bf04732b8b98d9c3) [#768](https://github.com/developit/microbundle/pull/768) Thanks [@developit](https://github.com/developit)! - Add ambient typescript declaration for CSS Modules\n\n## 0.12.4\n\n### Patch Changes\n\n- [`ffcc9d9`](https://github.com/developit/microbundle/commit/ffcc9d9b7d9518ae2fa31b2af4d1fd4f98599560) [#713](https://github.com/developit/microbundle/pull/713) Thanks [@developit](https://github.com/developit)! - Support [extending a UMD global](https://rollupjs.org/guide/en/#outputextend) by prefixing the package.json `\"amdName\"` field (eg: `\"global.xyz\"`).\n\n* [`0527862`](https://github.com/developit/microbundle/commit/052786223edce8258c73a72a49238e41e5b24850) [#722](https://github.com/developit/microbundle/pull/722) Thanks [@developit](https://github.com/developit)! - Support \"esm\" (`-f esm`) as an alias of \"es\" format.\n\n- [`d08f977`](https://github.com/developit/microbundle/commit/d08f977aa6b19b267cf8d12861cc5cc34380d025) [#702](https://github.com/developit/microbundle/pull/702) Thanks [@wardpeet](https://github.com/wardpeet)! - Use @babel/preset-env with bugfixes instead of preset-modules to enable \"Optional chaining\" & \"nullish coalescing\" by default.\n\n* [`d33a7ba`](https://github.com/developit/microbundle/commit/d33a7ba2f5475e870d1a0f659b0c3ec0c459a850) [#731](https://github.com/developit/microbundle/pull/731) Thanks [@vaneenige](https://github.com/vaneenige)! - Add jsxImportSource flag for new JSX runtime\n\n- [`0fec414`](https://github.com/developit/microbundle/commit/0fec41493c39669270ba2b58401dc591e551d96d) [#716](https://github.com/developit/microbundle/pull/716) Thanks [@wardpeet](https://github.com/wardpeet)! - Don't transpile generators and async for Node\n\n* [`ba1c047`](https://github.com/developit/microbundle/commit/ba1c047512356e0e48911f5f037be798c5c2b9eb) [#701](https://github.com/developit/microbundle/pull/701) Thanks [@wardpeet](https://github.com/wardpeet)! - re-enable unpkg alias for umd bundles as described in the readme\n\n- [`3488411`](https://github.com/developit/microbundle/commit/34884116e21408305b337a9f6267f6c2ddc9e72d) [#700](https://github.com/developit/microbundle/pull/700) Thanks [@wardpeet](https://github.com/wardpeet)! - Disable warnings for node's builtin-modules when using node as a target environment.\n"
  },
  {
    "path": "CODE_OF_CONDUCT.md",
    "content": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project author at jason@developit.ca. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
  },
  {
    "path": "LICENSE",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2017-present Jason Miller\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "<p align=\"center\">\n  <img src=\"https://i.imgur.com/LMEgZMh.gif\" width=\"597\" alt=\"microbundle\">\n</p>\n<h1 align=\"center\">\n\tMicrobundle\n\t<a href=\"https://www.npmjs.org/package/microbundle\"><img src=\"https://img.shields.io/npm/v/microbundle.svg?style=flat\" alt=\"npm\"></a> <a href=\"https://travis-ci.org/developit/microbundle\"><img src=\"https://travis-ci.org/developit/microbundle.svg?branch=master\" alt=\"travis\"></a> <a href=\"https://licenses.dev/npm/microbundle\"><img src=\"https://licenses.dev/b/npm/microbundle\" alt=\"licenses\" /></a>\n</h1>\n<p align=\"center\">The <strong>zero-configuration</strong> bundler for <em>tiny modules</em>, powered by <a href=\"https://github.com/rollup/rollup\">Rollup</a>.</p>\n\n---\n\n<p align=\"center\">\n  <strong>Guide → </strong>\n  <a href=\"#setup\">Setup</a> ✯\n  <a href=\"#formats\">Formats</a> ✯\n  <a href=\"#modern\">Modern Mode</a> ✯\n  <a href=\"#usage\">Usage &amp; Configuration</a> ✯\n  <a href=\"#options\">All Options</a>\n</p>\n\n---\n\n## ✨ Features <a name=\"features\"></a>\n\n- **One dependency** to bundle your library using only a `package.json`\n- Support for ESnext & async/await _(via [Babel] & [async-to-promises])_\n- Produces tiny, optimized code for all inputs\n- Supports multiple entry modules _(`cli.js` + `index.js`, etc)_\n- Creates multiple output formats for each entry _(<abbr title=\"CommonJS (node)\">CJS</abbr>, <abbr title=\"Universal Module Definition\">UMD</abbr> & <abbr title=\"ECMAScript Modules\">ESM</abbr>)_\n- 0 configuration TypeScript support\n- Built-in Terser compression & gzipped bundle size tracking\n\n## 🔧 Installation & Setup <a name=\"setup\"></a> <a name=\"installation\"></a>\n\n1️⃣ **Install** by running: `npm i -D microbundle`\n\n2️⃣ **Set up** your `package.json`:\n\n```jsonc\n{\n  \"name\": \"foo\",                      // your package name\n  \"type\": \"module\",\n  \"source\": \"src/foo.js\",             // your source code\n  \"exports\": {\n    \"require\": \"./dist/foo.cjs\",      // used for require() in Node 12+\n    \"default\": \"./dist/foo.modern.js\" // where to generate the modern bundle (see below)\n  },\n  \"main\": \"./dist/foo.cjs\",           // where to generate the CommonJS bundle\n  \"module\": \"./dist/foo.module.js\",   // where to generate the ESM bundle\n  \"unpkg\": \"./dist/foo.umd.js\",       // where to generate the UMD bundle (also aliased as \"umd:main\")\n  \"scripts\": {\n    \"build\": \"microbundle\",           // compiles \"source\" to \"main\"/\"module\"/\"unpkg\"\n    \"dev\": \"microbundle watch\"        // re-build when source files change\n  }\n}\n```\n\n3️⃣ **Try it out** by running `npm run build`.\n\n## 💽 Output Formats <a name=\"formats\"></a>\n\nMicrobundle produces <code title=\"ECMAScript Modules (import / export)\">esm</code>, <code title=\"CommonJS (Node-style module.exports)\">cjs</code>, <code title=\"Universal Module Definition (works everywhere)\">umd</code> bundles with your code compiled to syntax that works pretty much everywhere.\nWhile it's possible to customize the browser or Node versions you wish to support using a [browserslist configuration](https://github.com/browserslist/browserslist#browserslist-), the default setting is optimal and strongly recommended.\n\n## 🤖 Modern Mode <a name=\"modern\"></a>\n\nIn addition to the above formats, Microbundle also outputs a `modern` bundle specially designed to work in _all modern browsers_.\nThis bundle preserves most modern JS features when compiling your code, but ensures the result runs in 95% of web browsers without needing to be transpiled.\nSpecifically, it uses Babel's [\"bugfixes\" mode](https://babeljs.io/blog/2020/03/16/7.9.0#babelpreset-envs-bugfixes-option-11083httpsgithubcombabelbabelpull11083)\n(previously known as [preset-modules](https://github.com/babel/preset-modules)) to target the set of browsers that support `<script type=\"module\">` - that allows syntax like async/await, tagged templates, arrow functions, destructured and rest parameters, etc.\nThe result is generally smaller and faster to execute than the plain `esm` bundle.\n\nTake the following source code for example:\n\n```js\n// Our source, \"src/make-dom.js\":\nexport default async function makeDom(tag, props, children) {\n\tlet el = document.createElement(tag);\n\tel.append(...(await children));\n\treturn Object.assign(el, props);\n}\n```\n\nCompiling the above using Microbundle produces the following `modern` and `esm` bundles:\n\n<table>\n<thead><tr>\n  <th align=\"left\"><code>make-dom.modern.js</code> <sup>(117b)</sup></th>\n  <th align=\"left\"><code>make-dom.module.js</code> <sup>(194b)</sup></th>\n</tr></thead>\n<tbody><tr valign=\"top\"><td>\n\n```js\nexport default async function (e, t, a) {\n\tlet n = document.createElement(e);\n\tn.append(...(await a));\n\treturn Object.assign(n, t);\n}\n```\n\n</td><td>\n\n```js\nexport default function (e, t, r) {\n\ttry {\n\t\tvar n = document.createElement(e);\n\t\treturn Promise.resolve(r).then(function (e) {\n\t\t\treturn n.append.apply(n, e), Object.assign(n, t);\n\t\t});\n\t} catch (e) {\n\t\treturn Promise.reject(e);\n\t}\n}\n```\n\n</td></tbody></table>\n\n**This is enabled by default.** All you have to do is add an `\"exports\"` field to your `package.json`:\n\n```jsonc\n{\n\t\"main\": \"./dist/foo.umd.js\", // legacy UMD output (for Node & CDN use)\n\t\"module\": \"./dist/foo.module.mjs\", // legacy ES Modules output (for bundlers)\n\t\"exports\": \"./dist/foo.modern.mjs\", // modern ES2017 output\n\t\"scripts\": {\n\t\t\"build\": \"microbundle src/foo.js\"\n\t}\n}\n```\n\nThe `\"exports\"` field can also be an object for packages with multiple entry modules:\n\n```jsonc\n{\n\t\"name\": \"foo\",\n\t\"exports\": {\n\t\t\".\": \"./dist/foo.modern.mjs\", // import \"foo\" (the default)\n\t\t\"./lite\": \"./dist/lite.modern.mjs\", // import \"foo/lite\"\n\t\t\"./full\": \"./dist/full.modern.mjs\" // import \"foo/full\"\n\t},\n\t\"scripts\": {\n\t\t\"build\": \"microbundle src/*.js\" // build foo.js, lite.js and full.js\n\t}\n}\n```\n\n## 📦 Usage & Configuration <a name=\"usage\"></a>\n\nMicrobundle includes two commands - `build` (the default) and `watch`.\nNeither require any options, but you can tailor things to suit your needs a bit if you like.\n\n- **`microbundle`** – bundles your code once and exits. (alias: `microbundle build`)\n- **`microbundle watch`** – bundles your code, then re-bundles when files change.\n\n> ℹ️ Microbundle automatically determines which dependencies to inline into bundles based on your `package.json`.\n>\n> Read more about [How Microbundle decides which dependencies to bundle](https://github.com/developit/microbundle/wiki/How-Microbundle-decides-which-dependencies-to-bundle), including some example configurations.\n\n### Specifying filenames in package.json\n\nUnless overridden via the command line, microbundle uses the `source` property in your `package.json` to determine which of your JavaScript files to start bundling from (your \"entry module\").\nThe filenames and paths for generated bundles in each format are defined by the `main`, `umd:main`, `module` and `exports` properties in your `package.json`.\n\n```jsonc\n{\n  \"source\": \"src/index.js\",             // input\n  \"main\": \"dist/foo.js\",                // CommonJS output bundle\n  \"umd:main\": \"dist/foo.umd.js\",        // UMD output bundle\n  \"module\": \"dist/foo.mjs\",             // ES Modules output bundle\n  \"exports\": {\n    \"types\": \"./dist/foo.d.ts\",         // TypeScript typings for NodeNext modules\n    \"require\": \"./dist/foo.js\",         // CommonJS output bundle\n    \"default\": \"./dist/foo.modern.mjs\", // Modern ES Modules output bundle\n  },\n  \"types\": \"dist/foo.d.ts\"              // TypeScript typings\n}\n```\n\nWhen deciding which bundle to use, Node.js 12+ and webpack 5+ will prefer the `exports` property, while older Node.js releases use the `main` property, and other bundlers prefer the `module` field.\nFor more information about the meaning of the different properties, refer to the [Node.js documentation](https://nodejs.org/api/packages.html#packages_package_entry_points).\n\nFor UMD builds, microbundle will use a camelCase version of the `name` field in your `package.json` as export name.\nAlternatively, this can be explicitly set by adding an `\"amdName\"` key in your `package.json`, or passing the `--name` command line argument.\n\n### Usage with `{\"type\":\"module\"}` in `package.json`\n\nNode.js 12.16+ adds a new \"ES Module package\", which can be enabled by adding `{\"type\":\"module\"}` to your package.json.\nThis property [changes the default source type](https://nodejs.org/api/packages.html#packages_determining_module_system) of `.js` files to be ES Modules instead of CommonJS.\nWhen using `{\"type\":\"module\"}`, the file extension for CommonJS bundles generated by Microbundle must be changed to `.cjs`:\n\n```jsonc\n{\n  \"type\": \"module\",\n  \"module\": \"dist/foo.js\",  // ES Module bundle\n  \"main\": \"dist/foo.cjs\",   // CommonJS bundle\n}\n```\n\n### Additional Configuration Options\n\nConfig also can be overridded by the [`publishConfig`](https://docs.npmjs.com/cli/v7/configuring-npm/package-json#publishconfig) property in your `package.json`.\n\n```jsonc\n{\n  \"main\": \"src/index.ts\",          // this would be used in the dev environment (e.g. Jest)\n  \"publishConfig\": {\n    \"source\": \"src/index.js\",      // input\n    \"main\": \"dist/my-library.js\",  // output\n  },\n  \"scripts\": {\n    \"build\": \"microbundle\"\n  }\n}\n```\n\n### Building a single bundle with fixed output name\n\nBy default Microbundle outputs multiple bundles, one bundle per format. A single bundle with a fixed output name can be built like this:\n\n```bash\nmicrobundle -i lib/main.js -o dist/bundle.js --no-pkg-main -f umd\n```\n\n### Using with TypeScript\n\nJust point the input to a `.ts` file through either the cli or the `source` key in your `package.json` and you’re done.\n\nMicrobundle will generally respect your TypeScript config defined in a `tsconfig.json` file with notable exceptions being the \"[target](https://www.typescriptlang.org/tsconfig#target)\" and \"[module](https://www.typescriptlang.org/tsconfig#module)\" settings. To ensure your TypeScript configuration matches the configuration that Microbundle uses internally it's strongly recommended that you set `\"module\": \"ESNext\"` and `\"target\": \"ESNext\"` in your `tsconfig.json`.\n\nTo ensure Microbundle does not process extraneous files, by default it only includes your entry point. If you want to include other files for compilation, such as ambient declarations, make sure to add either \"[files](https://www.typescriptlang.org/tsconfig#files)\" or \"[include](https://www.typescriptlang.org/tsconfig#include)\" into your `tsconfig.json`.\n\nIf you're using TypeScript with CSS Modules, you will want to set `\"include\": [\"node_modules/microbundle/index.d.ts\"]` in your `tsconfig.json` to tell TypeScript how to handle your CSS Module imports.\n\nTo ensure that your module's `.d.ts` type info is visible to other TypeScript projects that use [`moduleResolution: 'NodeNext'`](https://www.typescriptlang.org/docs/handbook/esm-node.html), add a [`types` key](https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing) to your `package.json`'s corresponding `exports` mapping.\n\n### CSS and CSS Modules\n\nImporting CSS files is supported via `import \"./foo.css\"`. By default, generated CSS output is written to disk. The `--css inline` command line option will inline generated CSS into your bundles as a string, returning the CSS string from the import:\n\n```js\n// with the default external CSS:\nimport './foo.css'; // generates a minified .css file in the output directory\n\n// with `microbundle --css inline`:\nimport css from './foo.css';\nconsole.log(css); // the generated minified stylesheet\n```\n\n**CSS Modules:** CSS files with names ending in `.module.css` are treated as a [CSS Modules](https://github.com/css-modules/css-modules).\nTo instead treat imported `.css` files as modules, run Microbundle with `--css-modules true`. To disable CSS Modules for your project, pass `--no-css-modules` or `--css-modules false`.\n\nThe default scope name for CSS Modules is`_[name]__[local]__[hash:base64:5]` in watch mode, and `_[hash:base64:5]` for production builds.\nThis can be customized by passing the command line argument `--css-modules \"[name]_[hash:base64:7]\"`, using [these fields and naming conventions](https://github.com/webpack/loader-utils#interpolatename).\n\n| flag  | import                         |   is css module?   |\n| ----- | ------------------------------ | :----------------: |\n| null  | import './my-file.css';        |        :x:         |\n| null  | import './my-file.module.css'; | :white_check_mark: |\n| false | import './my-file.css';        |        :x:         |\n| false | import './my-file.module.css'; |        :x:         |\n| true  | import './my-file.css';        | :white_check_mark: |\n| true  | import './my-file.module.css'; | :white_check_mark: |\n\n### Building Module Workers\n\nMicrobundle is able to detect and bundle Module Workers when generating bundles in the\n`esm` and `modern` formats. To use this feature, instantiate your Web Worker as follows:\n\n```js\nworker = new Worker(new URL('./worker.js', import.meta.url), { type: 'module' });\n// or simply:\nworker = new Worker('./worker.js', { type: 'module' });\n```\n\n... then add the `--workers` flag to your build command:\n\n```bash\nmicrobundle --workers\n```\n\nFor more information see\n[@surma/rollup-plugin-off-main-thread](https://github.com/surma/rollup-plugin-off-main-thread#config).\n\n### Visualize Bundle Makeup\n\nUse the `--visualize` flag to generate a `stats.html` file at build time, showing the makeup of your bundle. Uses [rollup-plugin-visualizer](https://www.npmjs.com/package/rollup-plugin-visualizer).\n\n### Mangling Properties\n\nTo achieve the smallest possible bundle size, libraries often wish to rename internal object properties or class members to smaller names - transforming `this._internalIdValue` to `this._i`. Microbundle doesn't do this by default, however it can be enabled by creating a `mangle.json` file (or a `\"mangle\"` property in your package.json). Within that file, you can specify a regular expression pattern to control which properties should be mangled. For example: to mangle all property names beginning an underscore:\n\n```jsonc\n{\n\t\"mangle\": {\n\t\t\"regex\": \"^_\"\n\t}\n}\n```\n\nIt's also possible to configure repeatable short names for each mangled property, so that every build of your library has the same output. **See the wiki for a [complete guide to property mangling in Microbundle](https://github.com/developit/microbundle/wiki/mangle.json).**\n\n### Defining build-time constants\n\nThe `--define` option can be used to inject or replace build-time constants when bundling. In addition to injecting string or number constants, prefixing the define name with `@` allows injecting JavaScript expressions.\n\n| Build command                                | Source code            | Output                  |\n| -------------------------------------------- | ---------------------- | ----------------------- |\n| `microbundle --define VERSION=2`             | `console.log(VERSION)` | `console.log(2)`        |\n| `microbundle --define API_KEY='abc123'`      | `console.log(API_KEY)` | `console.log(\"abc123\")` |\n| `microbundle --define @assign=Object.assign` | `assign(a, b)`         | `Object.assign(a, b)`   |\n\n### All CLI Options <a name=\"options\"></a>\n\n```\nUsage\n\t$ microbundle <command> [options]\n\nAvailable Commands\n\tbuild    Build once and exit\n\twatch    Rebuilds on any change\n\nFor more info, run any command with the `--help` flag\n\t$ microbundle build --help\n\t$ microbundle watch --help\n\nOptions\n\t-v, --version      Displays current version\n\t-i, --entry        Entry module(s)\n\t-o, --output       Directory to place build files into\n\t-f, --format       Only build specified formats (any of modern,esm,cjs,umd or iife) (default modern,esm,cjs,umd)\n\t-w, --watch        Rebuilds on any change  (default false)\n\t--pkg-main         Outputs files analog to package.json main entries  (default true)\n\t--target           Specify your target environment (node or web)  (default web)\n\t--external         Specify external dependencies, or 'none' (default peerDependencies and dependencies in package.json)\n\t--globals          Specify globals dependencies, or 'none'\n\t--define           Replace constants with hard-coded values (use @key=exp to replace an expression)\n\t--alias            Map imports to different modules\n\t--compress         Compress output using Terser (default true when --target is web, false when --target is node)\n\t--strict           Enforce undefined global context and add \"use strict\"\n\t--name             Specify name exposed in UMD and IIFE builds\n\t--cwd              Use an alternative working directory  (default .)\n\t--sourcemap        Generate source map  (default true)\n\t--raw              Show raw byte size  (default false)\n\t--jsx              A custom JSX pragma like React.createElement (default h)\n\t--jsxFragment      A custom JSX fragment pragma like React.Fragment (default Fragment)\n\t--jsxImportSource  Declares the module specifier to be used for importing jsx factory functions\n\t--tsconfig         Specify the path to a custom tsconfig.json\n\t--generateTypes    Whether or not to generate types, if `types` or `typings` is set in `package.json` then it will default to be `true`\n\t--css              Where to output CSS: \"inline\" or \"external\" (default \"external\")\n\t--css-modules      Configures .css to be treated as modules (default null)\n\t--workers          Bundle module workers - see https://github.com/surma/rollup-plugin-off-main-thread#auto-bundling  (default false)\n\t--visualize        Generate bundle makeup visualization (stats.html)\n\t-h, --help         Displays this message\n\nExamples\n\t$ microbundle build --globals react=React,jquery=$\n\t$ microbundle build --define API_KEY=1234\n\t$ microbundle build --alias react=preact/compat\n\t$ microbundle watch --no-sourcemap # don't generate sourcemaps\n\t$ microbundle build --tsconfig tsconfig.build.json\n```\n\n## 🛣 Roadmap\n\nHere's what's coming up for Microbundle:\n\n- [ ] [Multiple separate inputs->outputs](https://github.com/developit/microbundle/issues/50)\n- [x] [TypeScript support](https://github.com/developit/microbundle/issues/5)\n- [x] [Flowtype support](https://github.com/developit/microbundle/issues/5#issuecomment-351075881)\n\n## 🔨 Built with Microbundle\n\n- [Preact](https://github.com/preactjs/preact) Fast 3kB React alternative with the same modern API. Components & Virtual DOM.\n- [Stockroom](https://github.com/developit/stockroom) Offload your store management to a worker easily.\n- [Microenvi](https://github.com/fwilkerson/microenvi) Bundle, serve, and hot reload with one command.\n- [Theme UI](https://github.com/system-ui/theme-ui) Build consistent, themeable React apps based on constraint-based design principles.\n- [react-recomponent](https://github.com/philipp-spiess/react-recomponent) Reason-style reducer components for React using ES6 classes.\n- [react-hooks-lib](https://github.com/beizhedenglong/react-hooks-lib) A set of reusable react hooks.\n- [mdx-deck-live-code](https://github.com/JReinhold/mdx-deck-live-code) A library for [mdx-deck](https://github.com/jxnblk/mdx-deck) to do live React and JS coding directly in slides.\n- [react-router-ext](https://github.com/ri7nz/react-router-ext) An Extended [react-router-dom](https://github.com/ReactTraining/react-router/tree/master/packages/react-router-dom) with simple usage.\n- [routex.js](https://github.com/alexhoma/routex.js) A dynamic routing library for Next.js.\n- [hooked-form](https://github.com/JoviDeCroock/hooked-form) A lightweight form-management library for React.\n- [goober](https://github.com/cristianbote/goober) Less than 1KB css-in-js alternative with a familiar API.\n- [react-model](https://github.com/byte-fe/react-model) The next generation state management library for React.\n- [Teaful](https://github.com/teafuljs/teaful) Tiny, easy and powerful (P)React state management.\n- [@studio-freight/lenis](https://github.com/studio-freight/lenis) Tiny, Performant, Vanilla JS, Smooth Scroll library.\n- [@studio-freight/tempus](https://github.com/studio-freight/tempus) One rAF to rule them all.\n- [@studio-freight/hamo](https://github.com/studio-freight/hamo) Collection of React hooks.\n- [glTF Transform](https://github.com/donmccurdy/glTF-Transform) Library for working with .gltf and .glb 3D models.\n- [eta](https://github.com/eta-dev/eta) Lightweight, powerful, pluggable embedded JS template engine\n- [swup](https://github.com/swup/swup) Page transition library for server-rendered websites.\n\n## 🥂 License\n\n[MIT](https://oss.ninja/mit/developit/)\n\n[rollup]: https://github.com/rollup/rollup\n[babel]: https://babeljs.io/\n[async-to-promises]: https://github.com/rpetrich/babel-plugin-transform-async-to-promises\n"
  },
  {
    "path": "babel.config.js",
    "content": "module.exports = {\n\tpresets: [\n\t\t[\n\t\t\t'@babel/preset-env',\n\t\t\t{\n\t\t\t\tloose: true,\n\t\t\t\tmodules: process.env.BABEL_ENV === 'test' ? 'commonjs' : 'auto',\n\t\t\t\ttargets: {\n\t\t\t\t\tnode: 'current',\n\t\t\t\t},\n\t\t\t\texclude: ['transform-async-to-generator', 'transform-regenerator'],\n\t\t\t},\n\t\t],\n\t],\n\tplugins: ['@babel/plugin-syntax-jsx'],\n};\n"
  },
  {
    "path": "index.d.ts",
    "content": "declare module '*.module.css' {\n    const classes: { [key: string]: string };\n    export default classes;\n}\n"
  },
  {
    "path": "package.json",
    "content": "{\n\t\"name\": \"microbundle\",\n\t\"version\": \"0.15.1\",\n\t\"description\": \"Zero-configuration bundler for tiny JS libs, powered by Rollup.\",\n\t\"main\": \"dist/microbundle.js\",\n\t\"source\": \"src/index.js\",\n\t\"bin\": \"dist/cli.js\",\n\t\"repository\": \"developit/microbundle\",\n\t\"keywords\": [\n\t\t\"bundle\",\n\t\t\"rollup\",\n\t\t\"micro library\"\n\t],\n\t\"files\": [\n\t\t\"src\",\n\t\t\"dist\",\n\t\t\"index.d.ts\"\n\t],\n\t\"author\": \"Jason Miller <jason@developit.ca> (http://jasonformat.com)\",\n\t\"license\": \"MIT\",\n\t\"scripts\": {\n\t\t\"build\": \"npm run -s build:babel && npm run -s build:self\",\n\t\t\"build:babel\": \"babel-node src/cli.js --target=node --format cjs src/{cli,index}.js\",\n\t\t\"build:self\": \"node dist/cli.js --target=node --format cjs src/{cli,index}.js\",\n\t\t\"prepare\": \"npm run -s build\",\n\t\t\"prepare:babel\": \"babel src/*.js -d dist && npm t\",\n\t\t\"lint\": \"eslint src\",\n\t\t\"test\": \"npm run -s lint && npm run -s build && cross-env BABEL_ENV=test jest\",\n\t\t\"jest\": \"cross-env BABEL_ENV=test jest\",\n\t\t\"format\": \"prettier --write \\\"{*,{src,test}/**/*}.+(js|css)\\\"\",\n\t\t\"changeset\": \"changeset\",\n\t\t\"release\": \"npm run -s prepare && npm test && changeset publish\"\n\t},\n\t\"prettier\": {\n\t\t\"singleQuote\": true,\n\t\t\"trailingComma\": \"all\",\n\t\t\"useTabs\": true,\n\t\t\"arrowParens\": \"avoid\",\n\t\t\"overrides\": [\n\t\t\t{\n\t\t\t\t\"files\": \"package.json\",\n\t\t\t\t\"options\": {\n\t\t\t\t\t\"useTabs\": false,\n\t\t\t\t\t\"parser\": \"json-stringify\"\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t},\n\t\"lint-staged\": {\n\t\t\"{src,test}/**/*.js\": [\n\t\t\t\"eslint --fix\",\n\t\t\t\"prettier --write\"\n\t\t],\n\t\t\"{*,{src,test}/**/*}.+(js|css)\": [\n\t\t\t\"prettier --write\"\n\t\t],\n\t\t\"*.md\": [\n\t\t\t\"prettier --write\"\n\t\t]\n\t},\n\t\"jest\": {\n\t\t\"testEnvironment\": \"node\",\n\t\t\"testURL\": \"http://localhost\"\n\t},\n\t\"husky\": {\n\t\t\"hooks\": {\n\t\t\t\"pre-commit\": \"lint-staged\"\n\t\t}\n\t},\n\t\"dependencies\": {\n\t\t\"@babel/core\": \"^7.12.10\",\n\t\t\"@babel/plugin-proposal-class-properties\": \"7.12.1\",\n\t\t\"@babel/plugin-syntax-import-meta\": \"^7.10.4\",\n\t\t\"@babel/plugin-syntax-jsx\": \"^7.12.1\",\n\t\t\"@babel/plugin-transform-flow-strip-types\": \"^7.12.10\",\n\t\t\"@babel/plugin-transform-react-jsx\": \"^7.12.11\",\n\t\t\"@babel/plugin-transform-regenerator\": \"^7.12.1\",\n\t\t\"@babel/preset-env\": \"^7.12.11\",\n\t\t\"@babel/preset-flow\": \"^7.12.1\",\n\t\t\"@babel/preset-react\": \"^7.12.10\",\n\t\t\"@rollup/plugin-alias\": \"^3.1.1\",\n\t\t\"@rollup/plugin-babel\": \"^5.2.2\",\n\t\t\"@rollup/plugin-commonjs\": \"^17.0.0\",\n\t\t\"@rollup/plugin-json\": \"^4.1.0\",\n\t\t\"@rollup/plugin-node-resolve\": \"^11.0.1\",\n\t\t\"@surma/rollup-plugin-off-main-thread\": \"^2.2.2\",\n\t\t\"asyncro\": \"^3.0.0\",\n\t\t\"autoprefixer\": \"^10.1.0\",\n\t\t\"babel-plugin-macros\": \"^3.0.1\",\n\t\t\"babel-plugin-transform-async-to-promises\": \"^0.8.18\",\n\t\t\"babel-plugin-transform-replace-expressions\": \"^0.2.0\",\n\t\t\"brotli-size\": \"^4.0.0\",\n\t\t\"builtin-modules\": \"^3.1.0\",\n\t\t\"camelcase\": \"^6.2.0\",\n\t\t\"escape-string-regexp\": \"^4.0.0\",\n\t\t\"filesize\": \"^6.1.0\",\n\t\t\"gzip-size\": \"^6.0.0\",\n\t\t\"kleur\": \"^4.1.3\",\n\t\t\"lodash.merge\": \"^4.6.2\",\n\t\t\"magic-string\": \"^0.25.9\",\n\t\t\"postcss\": \"^8.2.1\",\n\t\t\"pretty-bytes\": \"^5.4.1\",\n\t\t\"rollup\": \"^2.35.1\",\n\t\t\"rollup-plugin-bundle-size\": \"^1.0.3\",\n\t\t\"rollup-plugin-postcss\": \"^4.0.0\",\n\t\t\"rollup-plugin-terser\": \"^7.0.2\",\n\t\t\"rollup-plugin-typescript2\": \"^0.32.0\",\n\t\t\"rollup-plugin-visualizer\": \"^5.6.0\",\n\t\t\"sade\": \"^1.7.4\",\n\t\t\"terser\": \"^5.7.0\",\n\t\t\"tiny-glob\": \"^0.2.8\",\n\t\t\"tslib\": \"^2.0.3\",\n\t\t\"typescript\": \"^4.1.3\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@babel/cli\": \"^7.12.10\",\n\t\t\"@babel/node\": \"^7.12.10\",\n\t\t\"@babel/plugin-proposal-throw-expressions\": \"^7.12.1\",\n\t\t\"@changesets/changelog-github\": \"^0.2.7\",\n\t\t\"@changesets/cli\": \"^2.12.0\",\n\t\t\"babel-jest\": \"^26.6.3\",\n\t\t\"cross-env\": \"^7.0.3\",\n\t\t\"directory-tree\": \"^2.2.5\",\n\t\t\"eslint\": \"^7.15.0\",\n\t\t\"eslint-config-developit\": \"^1.2.0\",\n\t\t\"eslint-config-prettier\": \"^7.0.0\",\n\t\t\"eslint-plugin-prettier\": \"^3.3.0\",\n\t\t\"esm\": \"^3.2.25\",\n\t\t\"fs-extra\": \"^9.0.1\",\n\t\t\"husky\": \"^4.3.6\",\n\t\t\"jest\": \"^26.6.3\",\n\t\t\"lint-staged\": \"^10.5.3\",\n\t\t\"npm-merge-driver-install\": \"^1.1.1\",\n\t\t\"prettier\": \"^2.2.1\",\n\t\t\"regenerator-runtime\": \"^0.13.7\",\n\t\t\"rimraf\": \"^3.0.2\",\n\t\t\"shell-quote\": \"^1.7.2\",\n\t\t\"strip-ansi\": \"^6.0.0\"\n\t}\n}\n"
  },
  {
    "path": "src/cli.js",
    "content": "#!/usr/bin/env node\n\nimport microbundle from './index';\nimport prog from './prog';\nimport { stdout } from './utils';\nimport logError from './log-error';\n\nconst run = opts => {\n\tmicrobundle(opts)\n\t\t.then(({ output }) => {\n\t\t\tif (output != null) stdout(output);\n\t\t\tif (!opts.watch) process.exit(0);\n\t\t})\n\t\t.catch(err => {\n\t\t\tprocess.exitCode = (typeof err.code === 'number' && err.code) || 1;\n\t\t\tlogError(err);\n\t\t\tprocess.exit();\n\t\t});\n};\n\nprog(run)(process.argv);\n"
  },
  {
    "path": "src/index.js",
    "content": "import fs from 'fs';\nimport { resolve, relative, dirname, basename, extname } from 'path';\nimport camelCase from 'camelcase';\nimport escapeStringRegexp from 'escape-string-regexp';\nimport { blue, yellow, red } from 'kleur';\nimport { map, series } from 'asyncro';\nimport glob from 'tiny-glob/sync';\nimport autoprefixer from 'autoprefixer';\nimport { rollup, watch } from 'rollup';\nimport builtinModules from 'builtin-modules';\nimport resolveFrom from 'resolve-from';\nimport commonjs from '@rollup/plugin-commonjs';\nimport babel from '@rollup/plugin-babel';\nimport customBabel from './lib/babel-custom';\nimport nodeResolve from '@rollup/plugin-node-resolve';\nimport { terser } from 'rollup-plugin-terser';\nimport { visualizer } from 'rollup-plugin-visualizer';\nimport alias from '@rollup/plugin-alias';\nimport postcss from 'rollup-plugin-postcss';\nimport typescript from 'rollup-plugin-typescript2';\nimport json from '@rollup/plugin-json';\nimport OMT from '@surma/rollup-plugin-off-main-thread';\nimport logError from './log-error';\nimport {\n\tEXTENSION,\n\tisDir,\n\tisFile,\n\tisTruthy,\n\tstdout,\n\tremoveScope,\n} from './utils';\nimport { getSizeInfo } from './lib/compressed-size';\nimport { normalizeMinifyOptions } from './lib/terser';\nimport {\n\tparseAliasArgument,\n\tparseMappingArgument,\n\ttoReplacementExpression,\n} from './lib/option-normalization';\nimport { getConfigFromPkgJson, getName } from './lib/package-info';\nimport { shouldCssModules, cssModulesConfig } from './lib/css-modules';\nimport { EOL } from 'os';\nimport MagicString from 'magic-string';\n\n// Extensions to use when resolving modules\nconst EXTENSIONS = ['.ts', '.tsx', '.js', '.jsx', '.es6', '.es', '.mjs'];\n\nconst WATCH_OPTS = {\n\texclude: 'node_modules/**',\n};\n\nexport default async function microbundle(inputOptions) {\n\tlet options = { ...inputOptions };\n\n\toptions.cwd = resolve(process.cwd(), inputOptions.cwd);\n\tconst cwd = options.cwd;\n\n\tconst { hasPackageJson, pkg } = await getConfigFromPkgJson(cwd);\n\toptions.pkg = {\n\t\t...pkg,\n\t\t...pkg.publishConfig,\n\t};\n\n\tconst { finalName, pkgName } = getName({\n\t\tname: options.name,\n\t\tpkgName: options.pkg.name,\n\t\tamdName: options.pkg.amdName,\n\t\thasPackageJson,\n\t\tcwd,\n\t});\n\n\toptions.name = finalName;\n\toptions.pkg.name = pkgName;\n\n\tif (options.sourcemap === 'inline') {\n\t\tconsole.log(\n\t\t\t'Warning: inline sourcemaps should only be used for debugging purposes.',\n\t\t);\n\t} else if (options.sourcemap === 'false') {\n\t\toptions.sourcemap = false;\n\t} else if (options.sourcemap !== false) {\n\t\toptions.sourcemap = true;\n\t}\n\n\toptions.input = await getInput({\n\t\tentries: options.entries,\n\t\tcwd,\n\t\tsource: options.pkg.source,\n\t\tmodule: options.pkg.module,\n\t});\n\n\toptions.output = await getOutput({\n\t\tcwd,\n\t\toutput: options.output,\n\t\tpkgMain: options.pkg.main,\n\t\tpkgName: options.pkg.name,\n\t});\n\n\toptions.entries = await getEntries({\n\t\tcwd,\n\t\tinput: options.input,\n\t});\n\n\toptions.multipleEntries = options.entries.length > 1;\n\n\tlet formats = (options.format || options.formats).split(',');\n\t// de-dupe formats and convert \"esm\" to \"es\":\n\tformats = Array.from(new Set(formats.map(f => (f === 'esm' ? 'es' : f))));\n\t// always compile cjs first if it's there:\n\tformats.sort((a, b) => (a === 'cjs' ? -1 : a > b ? 1 : 0));\n\n\tlet steps = [];\n\tfor (let i = 0; i < options.entries.length; i++) {\n\t\tfor (let j = 0; j < formats.length; j++) {\n\t\t\tsteps.push(\n\t\t\t\tcreateConfig(options, options.entries[i], formats[j], j === 0),\n\t\t\t);\n\t\t}\n\t}\n\n\tif (options.watch) {\n\t\treturn doWatch(options, cwd, steps);\n\t}\n\n\tlet cache;\n\tlet out = await series(\n\t\tsteps.map(config => async () => {\n\t\t\tconst { inputOptions, outputOptions } = config;\n\t\t\tif (inputOptions.cache !== false) {\n\t\t\t\tinputOptions.cache = cache;\n\t\t\t}\n\t\t\tlet bundle = await rollup(inputOptions);\n\t\t\tcache = bundle;\n\t\t\tawait bundle.write(outputOptions);\n\t\t\treturn await config._sizeInfo;\n\t\t}),\n\t);\n\n\tconst targetDir = relative(cwd, dirname(options.output)) || '.';\n\tconst sourceExist = options.input.length > 0;\n\tconst banner = sourceExist\n\t\t? blue(`Build \"${options.pkg.name}\" to ${targetDir}:`)\n\t\t: red(`Error: No entry module found for \"${options.pkg.name}\"`);\n\treturn {\n\t\toutput: `${banner}\\n${out.join('\\n')}`,\n\t};\n}\n\nfunction doWatch(options, cwd, steps) {\n\tconst { onStart, onBuild, onError } = options;\n\n\treturn new Promise((resolve, reject) => {\n\t\tconst targetDir = relative(cwd, dirname(options.output));\n\t\tstdout(blue(`Watching source, compiling to ${targetDir}:`));\n\n\t\tconst watchers = steps.reduce((acc, options) => {\n\t\t\tacc[options.inputOptions.input] = watch(\n\t\t\t\tObject.assign(\n\t\t\t\t\t{\n\t\t\t\t\t\toutput: options.outputOptions,\n\t\t\t\t\t\twatch: WATCH_OPTS,\n\t\t\t\t\t},\n\t\t\t\t\toptions.inputOptions,\n\t\t\t\t),\n\t\t\t).on('event', e => {\n\t\t\t\tif (e.code === 'START') {\n\t\t\t\t\tif (typeof onStart === 'function') {\n\t\t\t\t\t\tonStart(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (e.code === 'ERROR') {\n\t\t\t\t\tlogError(e.error);\n\t\t\t\t\tif (typeof onError === 'function') {\n\t\t\t\t\t\tonError(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (e.code === 'END') {\n\t\t\t\t\tif (options._sizeInfo) {\n\t\t\t\t\t\toptions._sizeInfo.then(text => {\n\t\t\t\t\t\t\tstdout(`Wrote ${text.trim()}`);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof onBuild === 'function') {\n\t\t\t\t\t\tonBuild(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn acc;\n\t\t}, {});\n\n\t\tresolve({ watchers });\n\t});\n}\n\nasync function jsOrTs(cwd, filename) {\n\tconst extension = (await isFile(resolve(cwd, filename + '.ts')))\n\t\t? '.ts'\n\t\t: (await isFile(resolve(cwd, filename + '.tsx')))\n\t\t? '.tsx'\n\t\t: '.js';\n\n\treturn resolve(cwd, `${filename}${extension}`);\n}\n\nasync function getInput({ entries, cwd, source, module }) {\n\tconst input = [];\n\n\t[]\n\t\t.concat(\n\t\t\tentries && entries.length\n\t\t\t\t? entries\n\t\t\t\t: (source &&\n\t\t\t\t\t\t(Array.isArray(source) ? source : [source]).map(file =>\n\t\t\t\t\t\t\tresolve(cwd, file),\n\t\t\t\t\t\t)) ||\n\t\t\t\t\t\t((await isDir(resolve(cwd, 'src'))) &&\n\t\t\t\t\t\t\t(await jsOrTs(cwd, 'src/index'))) ||\n\t\t\t\t\t\t(await jsOrTs(cwd, 'index')) ||\n\t\t\t\t\t\tmodule,\n\t\t)\n\t\t.map(file => glob(file))\n\t\t.forEach(file => input.push(...file));\n\n\treturn input;\n}\n\nasync function getOutput({ cwd, output, pkgMain, pkgName }) {\n\tlet main = resolve(cwd, output || pkgMain || 'dist');\n\tif (!main.match(/\\.[a-z]+$/) || (await isDir(main))) {\n\t\tmain = resolve(main, `${removeScope(pkgName)}.js`);\n\t}\n\treturn main;\n}\n\nfunction getDeclarationDir({ options, pkg }) {\n\tconst { cwd, output } = options;\n\n\tlet result = output;\n\n\tif (pkg.types || pkg.typings) {\n\t\tresult = pkg.types || pkg.typings;\n\t\tresult = resolve(cwd, result);\n\t}\n\n\tresult = dirname(result);\n\n\treturn result;\n}\n\nasync function getEntries({ input, cwd }) {\n\tlet entries = (\n\t\tawait map([].concat(input), async file => {\n\t\t\tfile = resolve(cwd, file);\n\t\t\tif (await isDir(file)) {\n\t\t\t\tfile = resolve(file, 'index.js');\n\t\t\t}\n\t\t\treturn file;\n\t\t})\n\t).filter((item, i, arr) => arr.indexOf(item) === i);\n\treturn entries;\n}\n\nfunction replaceName(filename, name) {\n\treturn resolve(\n\t\tdirname(filename),\n\t\tname + basename(filename).replace(/^[^.]+/, ''),\n\t);\n}\n\nfunction walk(exports, includeDefault) {\n\tif (!exports) return null;\n\tif (typeof exports === 'string') return exports;\n\tlet p = exports['.'] || exports.import || exports.module;\n\tif (!p && includeDefault) p = exports.default;\n\treturn walk(p, includeDefault);\n}\n\nfunction getMain({ options, entry, format }) {\n\tconst { pkg } = options;\n\tconst pkgMain = options['pkg-main'];\n\tconst pkgTypeModule = pkg.type === 'module';\n\n\tif (!pkgMain) {\n\t\treturn options.output;\n\t}\n\n\tlet mainNoExtension = options.output;\n\tif (options.multipleEntries) {\n\t\tlet name = entry.match(new RegExp(/([\\\\/])index/.source + EXTENSION.source))\n\t\t\t? mainNoExtension\n\t\t\t: entry;\n\t\tmainNoExtension = resolve(dirname(mainNoExtension), basename(name));\n\t}\n\tmainNoExtension = mainNoExtension.replace(EXTENSION, '');\n\n\tconst mainsByFormat = {};\n\n\tmainsByFormat.es = replaceName(\n\t\tpkg.module && !pkg.module.match(/src\\//)\n\t\t\t? pkg.module\n\t\t\t: pkg['jsnext:main'] || (pkgTypeModule ? 'x.esm.js' : 'x.esm.mjs'),\n\t\tmainNoExtension,\n\t);\n\n\tmainsByFormat.modern = replaceName(\n\t\t(pkg.exports && walk(pkg.exports, pkgTypeModule)) ||\n\t\t\t(pkg.syntax && pkg.syntax.esmodules) ||\n\t\t\tpkg.esmodule ||\n\t\t\t(pkgTypeModule ? 'x.modern.js' : 'x.modern.mjs'),\n\t\tmainNoExtension,\n\t);\n\tmainsByFormat.cjs = replaceName(\n\t\tpkg['cjs:main'] || (pkgTypeModule ? 'x.cjs' : 'x.js'),\n\t\tmainNoExtension,\n\t);\n\tmainsByFormat.umd = replaceName(\n\t\tpkg['umd:main'] || pkg.unpkg || 'x.umd.js',\n\t\tmainNoExtension,\n\t);\n\n\treturn mainsByFormat[format] || mainsByFormat.cjs;\n}\n\n// shebang cache map because the transform only gets run once\nconst shebang = {};\n\nfunction createConfig(options, entry, format, writeMeta) {\n\tlet { pkg } = options;\n\n\t/** @type {(string|RegExp)[]} */\n\tlet external = ['dns', 'fs', 'path', 'url'];\n\n\t/** @type {Record<string, string>} */\n\tlet outputAliases = {};\n\n\tconst moduleAliases = options.alias ? parseAliasArgument(options.alias) : [];\n\tconst aliasIds = moduleAliases.map(alias => alias.find);\n\n\t// We want to silence rollup warnings for node builtins as we rollup-node-resolve threats them as externals anyway\n\t// @see https://github.com/rollup/plugins/tree/master/packages/node-resolve/#resolving-built-ins-like-fs\n\tif (options.target === 'node') {\n\t\texternal = [/node:.*/].concat(builtinModules);\n\t}\n\n\tconst peerDeps = Object.keys(pkg.peerDependencies || {});\n\tif (options.external === 'none') {\n\t\t// bundle everything (external=[])\n\t} else if (options.external) {\n\t\texternal = external.concat(peerDeps).concat(\n\t\t\t// CLI --external supports regular expressions:\n\t\t\toptions.external.split(',').map(str => new RegExp(str)),\n\t\t);\n\t} else {\n\t\texternal = external\n\t\t\t.concat(peerDeps)\n\t\t\t.concat(Object.keys(pkg.dependencies || {}));\n\t}\n\n\tlet globals = external.reduce((globals, name) => {\n\t\t// Use raw value for CLI-provided RegExp externals:\n\t\tif (name instanceof RegExp) name = name.source;\n\n\t\t// valid JS identifiers are usually library globals:\n\t\tif (name.match(/^[a-z_$][a-z0-9_\\-$]*$/)) {\n\t\t\tglobals[name] = camelCase(name);\n\t\t}\n\t\treturn globals;\n\t}, {});\n\tif (options.globals && options.globals !== 'none') {\n\t\tglobals = Object.assign(globals, parseMappingArgument(options.globals));\n\t}\n\n\tlet defines = {};\n\tif (options.define) {\n\t\tdefines = Object.assign(\n\t\t\tdefines,\n\t\t\tparseMappingArgument(options.define, toReplacementExpression),\n\t\t);\n\t}\n\n\tconst modern = format === 'modern';\n\n\t// let rollupName = safeVariableName(basename(entry).replace(/\\.js$/, ''));\n\n\tlet nameCache = {};\n\tconst bareNameCache = nameCache;\n\t// Support \"minify\" field and legacy \"mangle\" field via package.json:\n\tconst rawMinifyValue = options.pkg.minify || options.pkg.mangle || {};\n\tlet minifyOptions = typeof rawMinifyValue === 'string' ? {} : rawMinifyValue;\n\tconst getNameCachePath =\n\t\ttypeof rawMinifyValue === 'string'\n\t\t\t? () => resolve(options.cwd, rawMinifyValue)\n\t\t\t: () => resolve(options.cwd, 'mangle.json');\n\n\tconst useTypescript = extname(entry) === '.ts' || extname(entry) === '.tsx';\n\tconst emitDeclaration =\n\t\toptions.generateTypes == null\n\t\t\t? !!(pkg.types || pkg.typings)\n\t\t\t: options.generateTypes;\n\tconst useWorkerLoader = options.workers !== false;\n\n\tconst escapeStringExternals = ext =>\n\t\text instanceof RegExp ? ext.source : escapeStringRegexp(ext);\n\tconst externalPredicate = new RegExp(\n\t\t`^(${external.map(escapeStringExternals).join('|')})($|/)`,\n\t);\n\tconst externalTest =\n\t\texternal.length === 0 ? id => false : id => externalPredicate.test(id);\n\n\tlet endsWithNewLine = false;\n\n\tlet nameCacheIndentTabs = false;\n\tfunction loadNameCache() {\n\t\ttry {\n\t\t\tconst data = fs.readFileSync(getNameCachePath(), 'utf8');\n\t\t\tnameCacheIndentTabs = /^\\t+/gm.test(data);\n\t\t\tendsWithNewLine = data.endsWith(EOL);\n\t\t\tnameCache = JSON.parse(data);\n\t\t\t// mangle.json can contain a \"minify\" field, same format as the pkg.mangle:\n\t\t\tif (nameCache.minify) {\n\t\t\t\tminifyOptions = Object.assign(\n\t\t\t\t\t{},\n\t\t\t\t\tminifyOptions || {},\n\t\t\t\t\tnameCache.minify,\n\t\t\t\t);\n\t\t\t}\n\t\t} catch (e) {}\n\t}\n\tloadNameCache();\n\n\tnormalizeMinifyOptions(minifyOptions);\n\n\tif (nameCache === bareNameCache) nameCache = null;\n\n\t/** @type {false | import('rollup').RollupCache} */\n\tlet cache;\n\tif (modern) cache = false;\n\n\tconst absMain = resolve(options.cwd, getMain({ options, entry, format }));\n\tconst outputDir = dirname(absMain);\n\tconst outputEntryFileName = basename(absMain);\n\n\t// Warn about the (somewhat) breaking change in #950\n\tif (format === 'es' && !pkg.module && outputEntryFileName.endsWith('.mjs')) {\n\t\tstdout(\n\t\t\tyellow(\n\t\t\t\t'Warning: your package.json does not specify {\"type\":\"module\"}. Microbundle assumes this is a CommonJS package and is generating ES Modules with the \".mjs\" file extension.',\n\t\t\t),\n\t\t);\n\t}\n\n\tlet config = {\n\t\t/** @type {import('rollup').InputOptions} */\n\t\tinputOptions: {\n\t\t\t// disable Rollup's cache for modern builds to prevent re-use of legacy transpiled modules:\n\t\t\tcache,\n\t\t\tinput: entry,\n\t\t\texternal: id => {\n\t\t\t\tif (id === 'babel-plugin-transform-async-to-promises/helpers') {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (aliasIds.indexOf(id) >= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\treturn externalTest(id);\n\t\t\t},\n\n\t\t\tonwarn(warning, warn) {\n\t\t\t\t// https://github.com/rollup/rollup/blob/0fa9758cb7b1976537ae0875d085669e3a21e918/src/utils/error.ts#L324\n\t\t\t\tif (warning.code === 'UNRESOLVED_IMPORT') {\n\t\t\t\t\tstdout(\n\t\t\t\t\t\t`Failed to resolve the module ${warning.source} imported by ${warning.importer}` +\n\t\t\t\t\t\t\t`\\nIs the module installed? Note:` +\n\t\t\t\t\t\t\t`\\n ↳ to inline a module into your bundle, install it to \"devDependencies\".` +\n\t\t\t\t\t\t\t`\\n ↳ to depend on a module via import/require, install it to \"dependencies\".`,\n\t\t\t\t\t);\n\t\t\t\t\treturn;\n\t\t\t\t} else if (warning.code === 'THIS_IS_UNDEFINED') return;\n\n\t\t\t\twarn(warning);\n\t\t\t},\n\n\t\t\ttreeshake: {\n\t\t\t\tpropertyReadSideEffects: false,\n\t\t\t},\n\n\t\t\tplugins: []\n\t\t\t\t.concat(\n\t\t\t\t\tpostcss({\n\t\t\t\t\t\tplugins: [autoprefixer()],\n\t\t\t\t\t\tautoModules: shouldCssModules(options),\n\t\t\t\t\t\tmodules: cssModulesConfig(options),\n\t\t\t\t\t\t// only write out CSS for the first bundle (avoids pointless extra files):\n\t\t\t\t\t\tinject: false,\n\t\t\t\t\t\textract:\n\t\t\t\t\t\t\t!!writeMeta &&\n\t\t\t\t\t\t\toptions.css !== 'inline' &&\n\t\t\t\t\t\t\tabsMain.replace(EXTENSION, '.css'),\n\t\t\t\t\t\tminimize: options.compress,\n\t\t\t\t\t\tsourceMap: options.sourcemap && options.css !== 'inline',\n\t\t\t\t\t}),\n\t\t\t\t\tmoduleAliases.length > 0 &&\n\t\t\t\t\t\talias({\n\t\t\t\t\t\t\t// @TODO: this is no longer supported, but didn't appear to be required?\n\t\t\t\t\t\t\t// resolve: EXTENSIONS,\n\t\t\t\t\t\t\tentries: moduleAliases,\n\t\t\t\t\t\t}),\n\t\t\t\t\tnodeResolve({\n\t\t\t\t\t\tmainFields: ['module', 'jsnext', 'main'],\n\t\t\t\t\t\tbrowser: options.target !== 'node',\n\t\t\t\t\t\texportConditions: [options.target === 'node' ? 'node' : 'browser'],\n\t\t\t\t\t\t// defaults + .jsx\n\t\t\t\t\t\textensions: ['.mjs', '.js', '.jsx', '.json', '.node'],\n\t\t\t\t\t\tpreferBuiltins: options.target === 'node',\n\t\t\t\t\t}),\n\t\t\t\t\tcommonjs({\n\t\t\t\t\t\t// use a regex to make sure to include eventual hoisted packages\n\t\t\t\t\t\tinclude: /\\/node_modules\\//,\n\t\t\t\t\t\tesmExternals: false,\n\t\t\t\t\t\trequireReturnsDefault: 'namespace',\n\t\t\t\t\t}),\n\t\t\t\t\tjson(),\n\t\t\t\t\t{\n\t\t\t\t\t\t// We have to remove shebang so it doesn't end up in the middle of the code somewhere\n\t\t\t\t\t\ttransform: code => ({\n\t\t\t\t\t\t\tcode: code.replace(/^#![^\\n]*/, bang => {\n\t\t\t\t\t\t\t\tshebang[options.name] = bang;\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tmap: null,\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t\t(useTypescript || emitDeclaration) &&\n\t\t\t\t\t\ttypescript({\n\t\t\t\t\t\t\tcwd: options.cwd,\n\t\t\t\t\t\t\ttypescript: require(resolveFrom.silent(\n\t\t\t\t\t\t\t\toptions.cwd,\n\t\t\t\t\t\t\t\t'typescript',\n\t\t\t\t\t\t\t) || 'typescript'),\n\t\t\t\t\t\t\tcacheRoot: `./node_modules/.cache/.rts2_cache_${format}`,\n\t\t\t\t\t\t\tuseTsconfigDeclarationDir: true,\n\t\t\t\t\t\t\ttsconfigDefaults: {\n\t\t\t\t\t\t\t\tcompilerOptions: {\n\t\t\t\t\t\t\t\t\tsourceMap: options.sourcemap,\n\t\t\t\t\t\t\t\t\tdeclaration: options.generateTypes !== false,\n\t\t\t\t\t\t\t\t\tallowJs: true,\n\t\t\t\t\t\t\t\t\temitDeclarationOnly: options.generateTypes && !useTypescript,\n\t\t\t\t\t\t\t\t\t...(options.generateTypes !== false && {\n\t\t\t\t\t\t\t\t\t\tdeclarationDir: getDeclarationDir({ options, pkg }),\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\tjsx: 'preserve',\n\t\t\t\t\t\t\t\t\tjsxFactory: options.jsx,\n\t\t\t\t\t\t\t\t\tjsxFragmentFactory: options.jsxFragment,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfiles: options.entries,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ttsconfig: options.tsconfig,\n\t\t\t\t\t\t\ttsconfigOverride: {\n\t\t\t\t\t\t\t\tcompilerOptions: {\n\t\t\t\t\t\t\t\t\tmodule: 'ESNext',\n\t\t\t\t\t\t\t\t\ttarget: 'esnext',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}),\n\t\t\t\t\t// if defines is not set, we shouldn't run babel through node_modules\n\t\t\t\t\tisTruthy(defines) &&\n\t\t\t\t\t\tbabel({\n\t\t\t\t\t\t\tbabelHelpers: 'bundled',\n\t\t\t\t\t\t\tbabelrc: false,\n\t\t\t\t\t\t\tcompact: false,\n\t\t\t\t\t\t\tconfigFile: false,\n\t\t\t\t\t\t\tinclude: 'node_modules/**',\n\t\t\t\t\t\t\tplugins: [\n\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\trequire.resolve('babel-plugin-transform-replace-expressions'),\n\t\t\t\t\t\t\t\t\t{ replace: defines },\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t}),\n\t\t\t\t\tcustomBabel()({\n\t\t\t\t\t\tbabelHelpers: 'bundled',\n\t\t\t\t\t\textensions: EXTENSIONS,\n\t\t\t\t\t\t// use a regex to make sure to exclude eventual hoisted packages\n\t\t\t\t\t\texclude: /\\/node_modules\\//,\n\t\t\t\t\t\tpassPerPreset: true, // @see https://babeljs.io/docs/en/options#passperpreset\n\t\t\t\t\t\tcustom: {\n\t\t\t\t\t\t\tdefines,\n\t\t\t\t\t\t\tmodern,\n\t\t\t\t\t\t\tcompress: options.compress !== false,\n\t\t\t\t\t\t\ttargets: options.target === 'node' ? { node: '12' } : undefined,\n\t\t\t\t\t\t\tpragma: options.jsx,\n\t\t\t\t\t\t\tpragmaFrag: options.jsxFragment,\n\t\t\t\t\t\t\ttypescript: !!useTypescript,\n\t\t\t\t\t\t\tjsxImportSource: options.jsxImportSource || false,\n\t\t\t\t\t\t},\n\t\t\t\t\t}),\n\t\t\t\t\toptions.compress !== false && [\n\t\t\t\t\t\tterser({\n\t\t\t\t\t\t\tcompress: Object.assign(\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tkeep_infinity: true,\n\t\t\t\t\t\t\t\t\tpure_getters: true,\n\t\t\t\t\t\t\t\t\t// Ideally we'd just get Terser to respect existing Arrow functions...\n\t\t\t\t\t\t\t\t\t// unsafe_arrows: true,\n\t\t\t\t\t\t\t\t\tpasses: 10,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\ttypeof minifyOptions.compress === 'boolean'\n\t\t\t\t\t\t\t\t\t? minifyOptions.compress\n\t\t\t\t\t\t\t\t\t: minifyOptions.compress || {},\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tformat: {\n\t\t\t\t\t\t\t\t// By default, Terser wraps function arguments in extra parens to trigger eager parsing.\n\t\t\t\t\t\t\t\t// Whether this is a good idea is way too specific to guess, so we optimize for size by default:\n\t\t\t\t\t\t\t\twrap_func_args: false,\n\t\t\t\t\t\t\t\tcomments: /^\\s*([@#]__[A-Z]+__\\s*$|@cc_on)/,\n\t\t\t\t\t\t\t\tpreserve_annotations: true,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tmodule: modern,\n\t\t\t\t\t\t\tecma: modern ? 2017 : 5,\n\t\t\t\t\t\t\ttoplevel: modern || format === 'cjs' || format === 'es',\n\t\t\t\t\t\t\tmangle:\n\t\t\t\t\t\t\t\ttypeof minifyOptions.mangle === 'boolean'\n\t\t\t\t\t\t\t\t\t? minifyOptions.mangle\n\t\t\t\t\t\t\t\t\t: Object.assign({}, minifyOptions.mangle || {}),\n\t\t\t\t\t\t\tnameCache,\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tnameCache && {\n\t\t\t\t\t\t\t// before hook\n\t\t\t\t\t\t\toptions: loadNameCache,\n\t\t\t\t\t\t\t// after hook\n\t\t\t\t\t\t\twriteBundle() {\n\t\t\t\t\t\t\t\tif (writeMeta && nameCache) {\n\t\t\t\t\t\t\t\t\tlet filename = getNameCachePath();\n\t\t\t\t\t\t\t\t\tlet json = JSON.stringify(\n\t\t\t\t\t\t\t\t\t\tnameCache,\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\tnameCacheIndentTabs ? '\\t' : 2,\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tif (endsWithNewLine) json += EOL;\n\t\t\t\t\t\t\t\t\tfs.writeFile(filename, json, () => {});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\toptions.visualize && visualizer(),\n\t\t\t\t\t// NOTE: OMT only works with amd and esm\n\t\t\t\t\t// Source: https://github.com/surma/rollup-plugin-off-main-thread#config\n\t\t\t\t\tuseWorkerLoader && (format === 'es' || modern) && OMT(),\n\t\t\t\t\t/** @type {import('rollup').Plugin} */\n\t\t\t\t\t({\n\t\t\t\t\t\tname: 'postprocessing',\n\t\t\t\t\t\t// Rollup 2 injects globalThis, which is nice, but doesn't really make sense for Microbundle.\n\t\t\t\t\t\t// Only ESM environments necessitate globalThis, and UMD bundles can't be properly loaded as ESM.\n\t\t\t\t\t\t// So we remove the globalThis check, replacing it with `this||self` to match Rollup 1's output:\n\t\t\t\t\t\trenderChunk(code, chunk, opts) {\n\t\t\t\t\t\t\tif (opts.format === 'umd') {\n\t\t\t\t\t\t\t\t// Can swap this out with MagicString.replace() when we bump it:\n\t\t\t\t\t\t\t\t// https://github.com/developit/microbundle/blob/f815a01cb63d90b9f847a4dcad2a64e6b2f8596f/src/index.js#L657-L671\n\t\t\t\t\t\t\t\tconst s = new MagicString(code);\n\n\t\t\t\t\t\t\t\tconst minified = code.match(\n\t\t\t\t\t\t\t\t\t/([a-zA-Z$_]+)=\"undefined\"!=typeof globalThis\\?globalThis:(\\1\\|\\|self)/,\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (minified) {\n\t\t\t\t\t\t\t\t\ts.overwrite(\n\t\t\t\t\t\t\t\t\t\tminified.index,\n\t\t\t\t\t\t\t\t\t\tminified.index + minified[0].length,\n\t\t\t\t\t\t\t\t\t\tminified[2],\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tconst unminified = code.match(\n\t\t\t\t\t\t\t\t\t/(global *= *)typeof +globalThis *!== *['\"]undefined['\"] *\\? *globalThis *: *(global *\\|\\| *self)/,\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\tif (unminified) {\n\t\t\t\t\t\t\t\t\ts.overwrite(\n\t\t\t\t\t\t\t\t\t\tunminified.index,\n\t\t\t\t\t\t\t\t\t\tunminified.index + unminified[0].length,\n\t\t\t\t\t\t\t\t\t\tunminified[1] + unminified[2],\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\tcode: s.toString(),\n\t\t\t\t\t\t\t\t\tmap: s.generateMap({ hires: true }),\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t// Grab size info before writing files to disk:\n\t\t\t\t\t\twriteBundle(_, bundle) {\n\t\t\t\t\t\t\tconfig._sizeInfo = Promise.all(\n\t\t\t\t\t\t\t\tObject.values(bundle).map(({ code, fileName }) => {\n\t\t\t\t\t\t\t\t\tif (code) {\n\t\t\t\t\t\t\t\t\t\treturn getSizeInfo(code, fileName, options.raw);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t).then(results => results.filter(Boolean).join('\\n'));\n\t\t\t\t\t\t},\n\t\t\t\t\t}),\n\t\t\t\t)\n\t\t\t\t.filter(Boolean),\n\t\t},\n\n\t\t/** @type {import('rollup').OutputOptions} */\n\t\toutputOptions: {\n\t\t\tpaths: outputAliases,\n\t\t\tglobals,\n\t\t\tstrict: options.strict === true,\n\t\t\tfreeze: false,\n\t\t\tesModule: false,\n\t\t\tsourcemap: options.sourcemap,\n\t\t\tget banner() {\n\t\t\t\treturn shebang[options.name];\n\t\t\t},\n\t\t\tformat: modern ? 'es' : format,\n\t\t\tname: options.name && options.name.replace(/^global\\./, ''),\n\t\t\textend: /^global\\./.test(options.name),\n\t\t\tdir: outputDir,\n\t\t\tentryFileNames: outputEntryFileName,\n\t\t\texports: 'auto',\n\t\t},\n\t};\n\n\treturn config;\n}\n"
  },
  {
    "path": "src/lib/__entry__.js",
    "content": "export { default } from '__microbundle_entry__';\n"
  },
  {
    "path": "src/lib/babel-custom.js",
    "content": "import { createBabelInputPluginFactory } from '@rollup/plugin-babel';\nimport merge from 'lodash.merge';\nimport transformFastRest from './transform-fast-rest';\nimport { isTruthy } from '../utils';\n\nconst ESMODULES_TARGET = {\n\tesmodules: true,\n};\n\nconst mergeConfigItems = (babel, type, ...configItemsToMerge) => {\n\tconst mergedItems = [];\n\n\tconfigItemsToMerge.forEach(configItemToMerge => {\n\t\tconfigItemToMerge.forEach(item => {\n\t\t\tconst itemToMergeWithIndex = mergedItems.findIndex(\n\t\t\t\tmergedItem =>\n\t\t\t\t\t(mergedItem.name || mergedItem.file.resolved) ===\n\t\t\t\t\t(item.name || item.file.resolved),\n\t\t\t);\n\n\t\t\tif (itemToMergeWithIndex === -1) {\n\t\t\t\tmergedItems.push(item);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tmergedItems[itemToMergeWithIndex] = babel.createConfigItem(\n\t\t\t\t[\n\t\t\t\t\tmergedItems[itemToMergeWithIndex].file.resolved,\n\t\t\t\t\tmerge(mergedItems[itemToMergeWithIndex].options, item.options),\n\t\t\t\t],\n\t\t\t\t{\n\t\t\t\t\ttype,\n\t\t\t\t},\n\t\t\t);\n\t\t});\n\t});\n\n\treturn mergedItems;\n};\n\nconst createConfigItems = (babel, type, items) => {\n\treturn items.map(item => {\n\t\tlet { name, value, ...options } = item;\n\t\tvalue = value || [require.resolve(name), options];\n\t\treturn babel.createConfigItem(value, { type });\n\t});\n};\n\nconst environmentPreset = '@babel/preset-env';\n// capture both @babel/env & @babel/preset-env (https://babeljs.io/docs/en/presets#preset-shorthand)\nconst presetEnvRegex = new RegExp(/@babel\\/(preset-)?env/);\n\nexport default () => {\n\treturn createBabelInputPluginFactory(babelCore => {\n\t\treturn {\n\t\t\t// Passed the plugin options.\n\t\t\toptions({ custom: customOptions, ...pluginOptions }) {\n\t\t\t\treturn {\n\t\t\t\t\t// Pull out any custom options that the plugin might have.\n\t\t\t\t\tcustomOptions,\n\n\t\t\t\t\t// Pass the options back with the two custom options removed.\n\t\t\t\t\tpluginOptions,\n\t\t\t\t};\n\t\t\t},\n\n\t\t\tconfig(config, { customOptions }) {\n\t\t\t\tconst targets = customOptions.targets;\n\t\t\t\tconst isNodeTarget = targets && targets.node != null;\n\n\t\t\t\tconst defaultPlugins = createConfigItems(\n\t\t\t\t\tbabelCore,\n\t\t\t\t\t'plugin',\n\t\t\t\t\t[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: '@babel/plugin-syntax-import-meta',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t!customOptions.jsxImportSource && {\n\t\t\t\t\t\t\tname: '@babel/plugin-transform-react-jsx',\n\t\t\t\t\t\t\tpragma: customOptions.pragma || 'h',\n\t\t\t\t\t\t\tpragmaFrag: customOptions.pragmaFrag || 'Fragment',\n\t\t\t\t\t\t},\n\t\t\t\t\t\t!customOptions.typescript && {\n\t\t\t\t\t\t\tname: '@babel/plugin-transform-flow-strip-types',\n\t\t\t\t\t\t},\n\t\t\t\t\t\tisTruthy(customOptions.defines) && {\n\t\t\t\t\t\t\tname: 'babel-plugin-transform-replace-expressions',\n\t\t\t\t\t\t\treplace: customOptions.defines,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t!customOptions.modern &&\n\t\t\t\t\t\t\t!isNodeTarget && {\n\t\t\t\t\t\t\t\tname: 'babel-plugin-transform-async-to-promises',\n\t\t\t\t\t\t\t\tinlineHelpers: true,\n\t\t\t\t\t\t\t\texternalHelpers: false,\n\t\t\t\t\t\t\t\tminify: true,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t!customOptions.modern &&\n\t\t\t\t\t\t\t!isNodeTarget && {\n\t\t\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t\t\ttransformFastRest,\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t// Use inline [].slice.call(arguments)\n\t\t\t\t\t\t\t\t\t\thelper: false,\n\t\t\t\t\t\t\t\t\t\tliteral: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t'transform-fast-rest',\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: '@babel/plugin-proposal-class-properties',\n\t\t\t\t\t\t\tloose: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t!customOptions.modern &&\n\t\t\t\t\t\t\t!isNodeTarget && {\n\t\t\t\t\t\t\t\tname: '@babel/plugin-transform-regenerator',\n\t\t\t\t\t\t\t\tasync: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'babel-plugin-macros',\n\t\t\t\t\t\t},\n\t\t\t\t\t].filter(Boolean),\n\t\t\t\t);\n\n\t\t\t\tconst babelOptions = config.options || {};\n\n\t\t\t\tconst envIdx = (babelOptions.presets || []).findIndex(preset =>\n\t\t\t\t\tpresetEnvRegex.test(preset.file.request),\n\t\t\t\t);\n\n\t\t\t\tif (envIdx !== -1) {\n\t\t\t\t\tconst preset = babelOptions.presets[envIdx];\n\t\t\t\t\tbabelOptions.presets[envIdx] = babelCore.createConfigItem(\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\trequire.resolve(environmentPreset),\n\t\t\t\t\t\t\tObject.assign(\n\t\t\t\t\t\t\t\tmerge(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tloose: true,\n\t\t\t\t\t\t\t\t\t\tuseBuiltIns: false,\n\t\t\t\t\t\t\t\t\t\ttargets: customOptions.targets,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tpreset.options,\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tbugfixes: customOptions.modern,\n\t\t\t\t\t\t\t\t\t\tmodules: false,\n\t\t\t\t\t\t\t\t\t\texclude: merge(\n\t\t\t\t\t\t\t\t\t\t\t['transform-async-to-generator', 'transform-regenerator'],\n\t\t\t\t\t\t\t\t\t\t\t(preset.options && preset.options.exclude) || [],\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tcustomOptions.modern ? { targets: ESMODULES_TARGET } : {},\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t],\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttype: `preset`,\n\t\t\t\t\t\t},\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tbabelOptions.presets = createConfigItems(\n\t\t\t\t\t\tbabelCore,\n\t\t\t\t\t\t'preset',\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tname: environmentPreset,\n\t\t\t\t\t\t\t\ttargets: customOptions.modern\n\t\t\t\t\t\t\t\t\t? ESMODULES_TARGET\n\t\t\t\t\t\t\t\t\t: customOptions.targets,\n\t\t\t\t\t\t\t\tmodules: false,\n\t\t\t\t\t\t\t\tloose: true,\n\t\t\t\t\t\t\t\tuseBuiltIns: false,\n\t\t\t\t\t\t\t\tbugfixes: customOptions.modern,\n\t\t\t\t\t\t\t\texclude: [\n\t\t\t\t\t\t\t\t\t'transform-async-to-generator',\n\t\t\t\t\t\t\t\t\t'transform-regenerator',\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcustomOptions.jsxImportSource && {\n\t\t\t\t\t\t\t\tname: '@babel/preset-react',\n\t\t\t\t\t\t\t\truntime: 'automatic',\n\t\t\t\t\t\t\t\timportSource: customOptions.jsxImportSource,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t].filter(Boolean),\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\t// Merge babelrc & our plugins together\n\t\t\t\tbabelOptions.plugins = mergeConfigItems(\n\t\t\t\t\tbabelCore,\n\t\t\t\t\t'plugin',\n\t\t\t\t\tdefaultPlugins,\n\t\t\t\t\tbabelOptions.plugins || [],\n\t\t\t\t);\n\n\t\t\t\tif (customOptions.compress) {\n\t\t\t\t\tbabelOptions.generatorOpts = {\n\t\t\t\t\t\tminified: true,\n\t\t\t\t\t\tcompact: true,\n\t\t\t\t\t\tshouldPrintComment: comment => /[@#]__[A-Z]+__/.test(comment),\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\treturn babelOptions;\n\t\t\t},\n\t\t};\n\t});\n};\n"
  },
  {
    "path": "src/lib/compressed-size.js",
    "content": "import { basename } from 'path';\nimport { green, red, yellow, white } from 'kleur';\nimport gzipSize from 'gzip-size';\nimport brotliSize from 'brotli-size';\nimport prettyBytes from 'pretty-bytes';\n\nfunction getPadLeft(str, width, char = ' ') {\n\treturn char.repeat(width - str.length);\n}\n\nfunction formatSize(size, filename, type, raw) {\n\tconst pretty = raw ? `${size} B` : prettyBytes(size);\n\tconst color = size < 5000 ? green : size > 40000 ? red : yellow;\n\tconst indent = getPadLeft(pretty, 13);\n\treturn `${indent}${color(pretty)}: ${white(basename(filename))}.${type}`;\n}\n\nexport async function getSizeInfo(code, filename, raw) {\n\traw = raw || code.length < 5000;\n\n\tconst [gzip, brotli] = await Promise.all([\n\t\tgzipSize(code).catch(() => null),\n\t\tbrotliSize(code).catch(() => null),\n\t]);\n\n\tlet out = formatSize(gzip, filename, 'gz', raw);\n\tif (brotli) {\n\t\tout += '\\n' + formatSize(brotli, filename, 'br', raw);\n\t}\n\n\treturn out;\n}\n"
  },
  {
    "path": "src/lib/css-modules.js",
    "content": "export function shouldCssModules(options) {\n\tconst passedInOption = processCssmodulesArgument(options);\n\n\t// We should module when my-file.module.css or my-file.css\n\tconst moduleAllCss = passedInOption === true;\n\n\t// We should module when my-file.module.css\n\tconst allowOnlySuffixModule = passedInOption === null;\n\n\treturn moduleAllCss || allowOnlySuffixModule;\n}\n\nexport function cssModulesConfig(options) {\n\tconst passedInOption = processCssmodulesArgument(options);\n\tconst isWatchMode = options.watch;\n\tconst hasPassedInScopeName = !(\n\t\ttypeof passedInOption === 'boolean' || passedInOption === null\n\t);\n\n\tif (shouldCssModules(options) || hasPassedInScopeName) {\n\t\tlet generateScopedName = isWatchMode\n\t\t\t? '_[name]__[local]__[hash:base64:5]'\n\t\t\t: '_[hash:base64:5]';\n\n\t\tif (hasPassedInScopeName) {\n\t\t\tgenerateScopedName = passedInOption; // would be the string from --css-modules \"_[hash]\".\n\t\t}\n\n\t\treturn { generateScopedName };\n\t}\n\n\treturn false;\n}\n\n/**\n * This is done because if you use the cli default property, you get a primitive \"null\" or \"false\",\n * but when using the cli arguments, you always get back strings. This method aims at correcting those\n * for both realms. So that both realms _convert_ into primitives.\n */\nfunction processCssmodulesArgument(options) {\n\tif (options['css-modules'] === 'true' || options['css-modules'] === true)\n\t\treturn true;\n\tif (options['css-modules'] === 'false' || options['css-modules'] === false)\n\t\treturn false;\n\tif (options['css-modules'] === 'null' || options['css-modules'] === null)\n\t\treturn null;\n\n\treturn options['css-modules'];\n}\n"
  },
  {
    "path": "src/lib/option-normalization.js",
    "content": "/**\n * Convert booleans and int define= values to literals.\n * This is more intuitive than `microbundle --define A=1` producing A=\"1\".\n */\nexport function toReplacementExpression(value, name) {\n\t// --define A=\"1\",B='true' produces string:\n\tconst matches = value.match(/^(['\"])(.+)\\1$/);\n\tif (matches) {\n\t\treturn [JSON.stringify(matches[2]), name];\n\t}\n\n\t// --define @assign=Object.assign replaces expressions with expressions:\n\tif (name[0] === '@') {\n\t\treturn [value, name.substring(1)];\n\t}\n\n\t// --define A=1,B=true produces int/boolean literal:\n\tif (/^(true|false|\\d+)$/i.test(value)) {\n\t\treturn [value, name];\n\t}\n\n\t// default: string literal\n\treturn [JSON.stringify(value), name];\n}\n\n/**\n * Parses values of the form \"$=jQuery,React=react\" into key-value object pairs.\n */\nexport function parseMappingArgument(globalStrings, processValue) {\n\tconst globals = {};\n\tglobalStrings.split(',').forEach(globalString => {\n\t\tlet [key, value] = globalString.split('=');\n\t\tif (processValue) {\n\t\t\tconst r = processValue(value, key);\n\t\t\tif (r !== undefined) {\n\t\t\t\tif (Array.isArray(r)) {\n\t\t\t\t\t[value, key] = r;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = r;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tglobals[key] = value;\n\t});\n\treturn globals;\n}\n\n/**\n * Parses values of the form \"$=jQuery,React=react\" into key-value object pairs.\n */\nexport function parseAliasArgument(aliasStrings) {\n\treturn aliasStrings.split(',').map(str => {\n\t\tlet [key, value] = str.split('=');\n\t\treturn { find: key, replacement: value };\n\t});\n}\n"
  },
  {
    "path": "src/lib/package-info.js",
    "content": "import { resolve, basename } from 'path';\nimport { red, yellow } from 'kleur';\nimport { readFile, stderr, safeVariableName } from '../utils';\n\n/** */\nexport async function getConfigFromPkgJson(cwd) {\n\tlet hasPackageJson = false;\n\tlet pkg;\n\ttry {\n\t\tconst packageJson = await readFile(resolve(cwd, 'package.json'), 'utf8');\n\t\tpkg = JSON.parse(packageJson);\n\t\thasPackageJson = true;\n\t} catch (err) {\n\t\tconst pkgName = basename(cwd);\n\n\t\tstderr(\n\t\t\tyellow().inverse('WARN'),\n\t\t\tyellow(` no package.json, assuming package name is \"${pkgName}\".`),\n\t\t);\n\n\t\tlet msg = String(err.message || err);\n\t\tif (!msg.match(/ENOENT/)) stderr(`  ${red().dim(msg)}`);\n\n\t\tpkg = { name: pkgName };\n\t}\n\n\treturn { hasPackageJson, pkg };\n}\nexport function getName({ name, pkgName, amdName, cwd, hasPackageJson }) {\n\tif (!pkgName) {\n\t\tpkgName = basename(cwd);\n\t\tif (hasPackageJson) {\n\t\t\tstderr(\n\t\t\t\tyellow().inverse('WARN'),\n\t\t\t\tyellow(` missing package.json \"name\" field. Assuming \"${pkgName}\".`),\n\t\t\t);\n\t\t}\n\t}\n\n\tconst finalName = name || amdName || safeVariableName(pkgName);\n\n\treturn { finalName, pkgName };\n}\n"
  },
  {
    "path": "src/lib/terser.js",
    "content": "// Normalize Terser options from microbundle's relaxed JSON format (mutates argument in-place)\nexport function normalizeMinifyOptions(minifyOptions) {\n\t// ignore normalization if \"mangle\" is a boolean:\n\tif (typeof minifyOptions.mangle === 'boolean') return;\n\n\tconst mangle = minifyOptions.mangle || (minifyOptions.mangle = {});\n\tlet properties = mangle.properties;\n\n\t// allow top-level \"properties\" key to override mangle.properties (including {properties:false}):\n\tif (minifyOptions.properties != null) {\n\t\tproperties = mangle.properties =\n\t\t\tminifyOptions.properties &&\n\t\t\tObject.assign(properties, minifyOptions.properties);\n\t}\n\n\t// allow previous format ({ mangle:{regex:'^_',reserved:[]} }):\n\tif (minifyOptions.regex || minifyOptions.reserved) {\n\t\tif (!properties) properties = mangle.properties = {};\n\t\tproperties.regex = properties.regex || minifyOptions.regex;\n\t\tproperties.reserved = properties.reserved || minifyOptions.reserved;\n\t}\n\n\tif (properties) {\n\t\tif (properties.regex) properties.regex = new RegExp(properties.regex);\n\t\tproperties.reserved = [].concat(properties.reserved || []);\n\t}\n}\n"
  },
  {
    "path": "src/lib/transform-fast-rest.js",
    "content": "/**\n * @type {import('@babel/core')}\n */\n\n/**\n * Transform ...rest parameters to [].slice.call(arguments,offset).\n * Demo: https://astexplorer.net/#/gist/70aaa0306db9a642171ef3e2f35df2e0/576c150f647e4936fa6960e0453a11cdc5d81f21\n * Benchmark: https://jsperf.com/rest-arguments-babel-pr-9152/4\n * @param {object} opts\n * @param {babel.template} opts.template\n * @param {babel.types} opts.types\n * @returns {babel.PluginObj}\n */\nexport default function fastRestTransform({ template, types: t }) {\n\tconst slice = template`var IDENT = Array.prototype.slice;`;\n\n\tconst VISITOR = {\n\t\tRestElement(path, state) {\n\t\t\tif (path.parentKey !== 'params') return;\n\n\t\t\t// Create a global _slice alias\n\t\t\tlet slice = state.get('slice');\n\t\t\tif (!slice) {\n\t\t\t\tslice = path.scope.generateUidIdentifier('slice');\n\t\t\t\tstate.set('slice', slice);\n\t\t\t}\n\n\t\t\t// _slice.call(arguments) or _slice.call(arguments, 1)\n\t\t\tconst args = [t.identifier('arguments')];\n\t\t\tif (path.key) args.push(t.numericLiteral(path.key));\n\t\t\tconst sliced = t.callExpression(\n\t\t\t\tt.memberExpression(t.clone(slice), t.identifier('call')),\n\t\t\t\targs,\n\t\t\t);\n\n\t\t\tconst ident = path.node.argument;\n\t\t\tconst binding = path.scope.getBinding(ident.name);\n\n\t\t\tif (binding.referencePaths.length !== 0) {\n\t\t\t\t// arguments access requires a non-Arrow function:\n\t\t\t\tconst func = path.parentPath;\n\t\t\t\tif (t.isArrowFunctionExpression(func)) {\n\t\t\t\t\tfunc.arrowFunctionToExpression();\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\tbinding.constant &&\n\t\t\t\t\tbinding.referencePaths.length === 1 &&\n\t\t\t\t\tsameArgumentsObject(binding.referencePaths[0], func, t)\n\t\t\t\t) {\n\t\t\t\t\t// one usage, never assigned - replace usage inline\n\t\t\t\t\tbinding.referencePaths[0].replaceWith(sliced);\n\t\t\t\t} else {\n\t\t\t\t\t// unknown usage, create a binding\n\t\t\t\t\tconst decl = t.variableDeclaration('var', [\n\t\t\t\t\t\tt.variableDeclarator(t.clone(ident), sliced),\n\t\t\t\t\t]);\n\t\t\t\t\tfunc.get('body').unshiftContainer('body', decl);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpath.remove();\n\t\t},\n\t};\n\n\treturn {\n\t\tname: 'transform-fast-rest',\n\t\tvisitor: {\n\t\t\tProgram(path, state) {\n\t\t\t\tconst childState = new Map();\n\t\t\t\tconst useHelper = state.opts.helper === true; // defaults to false\n\n\t\t\t\tif (!useHelper) {\n\t\t\t\t\tlet inlineHelper;\n\t\t\t\t\tif (state.opts.literal === false) {\n\t\t\t\t\t\tinlineHelper = template.expression.ast`Array.prototype.slice`;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tinlineHelper = template.expression.ast`[].slice`;\n\t\t\t\t\t}\n\t\t\t\t\tchildState.set('slice', inlineHelper);\n\t\t\t\t}\n\n\t\t\t\tpath.traverse(VISITOR, childState);\n\n\t\t\t\tconst name = childState.get('slice');\n\t\t\t\tif (name && useHelper) {\n\t\t\t\t\tconst helper = slice({ IDENT: name });\n\t\t\t\t\tt.addComment(helper.declarations[0].init, 'leading', '#__PURE__');\n\t\t\t\t\tpath.unshiftContainer('body', helper);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t};\n}\n\nfunction sameArgumentsObject(node, func, t) {\n\twhile ((node = node.parentPath)) {\n\t\tif (node === func) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif (t.isFunction(node) && !t.isArrowFunctionExpression(node)) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\treturn false;\n}\n"
  },
  {
    "path": "src/log-error.js",
    "content": "import { red, dim } from 'kleur';\nimport { stderr } from './utils';\n\nexport default function logError(err) {\n\tconst error = err.error || err;\n\tconst description = `${error.name ? error.name + ': ' : ''}${\n\t\terror.message || error\n\t}`;\n\tconst message = error.plugin\n\t\t? `(${error.plugin} plugin) ${description}`\n\t\t: description;\n\n\tstderr(red().bold(message));\n\n\tif (error.loc) {\n\t\tstderr();\n\t\tstderr(`at ${error.loc.file}:${error.loc.line}:${error.loc.column}`);\n\t}\n\n\tif (error.frame) {\n\t\tstderr();\n\t\tstderr(dim(error.frame));\n\t} else if (err.stack) {\n\t\tconst headlessStack = error.stack.replace(message, '');\n\t\tstderr(dim(headlessStack));\n\t}\n\n\tstderr();\n}\n"
  },
  {
    "path": "src/prog.js",
    "content": "import sade from 'sade';\nlet { version } = require('../package.json');\n\nconst toArray = val => (Array.isArray(val) ? val : val == null ? [] : [val]);\n\nexport default handler => {\n\tconst ENABLE_MODERN = process.env.MICROBUNDLE_MODERN !== 'false';\n\n\tconst DEFAULT_FORMATS = ENABLE_MODERN ? 'modern,esm,cjs,umd' : 'esm,cjs,umd';\n\n\tconst cmd = type => (str, opts) => {\n\t\topts.watch = opts.watch || type === 'watch';\n\n\t\topts.entries = toArray(str || opts.entry).concat(opts._);\n\n\t\tif (typeof opts.compress !== 'undefined') {\n\t\t\t// Convert `--compress true/false/1/0` to booleans:\n\t\t\tif (typeof opts.compress !== 'boolean') {\n\t\t\t\topts.compress = opts.compress !== 'false' && opts.compress !== '0';\n\t\t\t}\n\t\t} else {\n\t\t\t// the default compress value is `true` for web, `false` for Node:\n\t\t\topts.compress = opts.target !== 'node';\n\t\t}\n\n\t\thandler(opts);\n\t};\n\n\tlet prog = sade('microbundle');\n\n\tprog\n\t\t.version(version)\n\t\t.option('--entry, -i', 'Entry module(s)')\n\t\t.option('--output, -o', 'Directory to place build files into')\n\t\t.option(\n\t\t\t'--format, -f',\n\t\t\t`Only build specified formats (any of ${DEFAULT_FORMATS} or iife)`,\n\t\t\tDEFAULT_FORMATS,\n\t\t)\n\t\t.option('--watch, -w', 'Rebuilds on any change', false)\n\t\t.option(\n\t\t\t'--pkg-main',\n\t\t\t'Outputs files analog to package.json main entries',\n\t\t\ttrue,\n\t\t)\n\t\t.option('--target', 'Specify your target environment (node or web)', 'web')\n\t\t.option('--external', `Specify external dependencies, or 'none'`)\n\t\t.option('--globals', `Specify globals dependencies, or 'none'`)\n\t\t.example('--globals react=React,jquery=$')\n\t\t.option('--define', 'Replace constants with hard-coded values')\n\t\t.example('--define API_KEY=1234')\n\t\t.option('--alias', `Map imports to different modules`)\n\t\t.example('--alias react=preact')\n\t\t.option(\n\t\t\t'--compress',\n\t\t\t'Compress output using Terser (default true when --target is web, false when --target is node)',\n\t\t)\n\t\t.example('build --target web --no-compress')\n\t\t.option('--strict', 'Enforce undefined global context and add \"use strict\"')\n\t\t.option('--name', 'Specify name exposed in UMD builds')\n\t\t.option('--cwd', 'Use an alternative working directory', '.')\n\t\t.option('--sourcemap', 'Generate source map')\n\t\t.example(\"watch --no-sourcemap # don't generate sourcemaps\")\n\t\t.option('--raw', 'Show raw byte size', false)\n\t\t.option('--jsx', 'A custom JSX pragma like React.createElement', 'h')\n\t\t.option(\n\t\t\t'--jsxFragment',\n\t\t\t'A custom JSX fragment pragma like React.Fragment',\n\t\t\t'Fragment',\n\t\t)\n\t\t.option(\n\t\t\t'--jsxImportSource',\n\t\t\t'Declares the module specifier to be used for importing jsx factory functions',\n\t\t)\n\t\t.option('--tsconfig', 'Specify the path to a custom tsconfig.json')\n\t\t.example('build --tsconfig tsconfig.build.json')\n\t\t.option(\n\t\t\t'--generateTypes',\n\t\t\t'Whether or not to generate types , if `types` or `typings` is set in `package.json` then it will default to be `true`',\n\t\t)\n\t\t.option('--css', 'Where to output CSS: \"inline\" or \"external\"', 'external')\n\t\t.option(\n\t\t\t'--css-modules',\n\t\t\t'Turns on css-modules for all .css imports. Passing a string will override the scopeName. eg --css-modules=\"_[hash]\"',\n\t\t\tnull,\n\t\t)\n\t\t.option(\n\t\t\t'--workers',\n\t\t\t'Bundle module workers - see https://github.com/surma/rollup-plugin-off-main-thread#auto-bundling',\n\t\t\tfalse,\n\t\t)\n\t\t.option(\n\t\t\t'--visualize',\n\t\t\t'Generate bundle makeup visualization (stats.html)',\n\t\t\tfalse,\n\t\t);\n\n\tprog\n\t\t.command('build [...entries]', '', { default: true })\n\t\t.describe('Build once and exit')\n\t\t.action(cmd('build'));\n\n\tprog\n\t\t.command('watch [...entries]')\n\t\t.describe('Rebuilds on any change')\n\t\t.action(cmd('watch'));\n\n\t// Parse argv; add extra aliases\n\treturn argv =>\n\t\tprog.parse(argv, {\n\t\t\talias: {\n\t\t\t\to: ['output', 'd'],\n\t\t\t\ti: ['entry', 'entries', 'e'],\n\t\t\t\tw: ['watch'],\n\t\t\t},\n\t\t\tboolean: ['generateTypes'],\n\t\t});\n};\n"
  },
  {
    "path": "src/utils.js",
    "content": "import { promises as fs } from 'fs';\nimport camelCase from 'camelcase';\n\nexport const readFile = fs.readFile;\n\nexport const stat = fs.stat;\n\nexport function isDir(name) {\n\treturn stat(name)\n\t\t.then(stats => stats.isDirectory())\n\t\t.catch(() => false);\n}\n\nexport function isFile(name) {\n\treturn stat(name)\n\t\t.then(stats => stats.isFile())\n\t\t.catch(() => false);\n}\n\n// eslint-disable-next-line no-console\nexport const stdout = console.log.bind(console);\nexport const stderr = console.error.bind(console);\n\nexport const isTruthy = obj => {\n\tif (!obj) {\n\t\treturn false;\n\t}\n\n\treturn obj.constructor !== Object || Object.keys(obj).length > 0;\n};\n\n/** Remove a @scope/ prefix from a package name string */\nexport const removeScope = name => name.replace(/^@.*\\//, '');\n\nconst INVALID_ES3_IDENT = /((^[^a-zA-Z]+)|[^\\w.-])|([^a-zA-Z0-9]+$)/g;\n\n/**\n * Turn a package name into a valid reasonably-unique variable name\n * @param {string} name\n */\nexport function safeVariableName(name) {\n\tconst normalized = removeScope(name).toLowerCase();\n\tconst identifier = normalized.replace(INVALID_ES3_IDENT, '');\n\treturn camelCase(identifier);\n}\n\nexport const EXTENSION = /(\\.(umd|cjs|es|m))?\\.([cm]?[tj]sx?)$/;\n"
  },
  {
    "path": "test/__snapshots__/index.test.js.snap",
    "content": "// Jest Snapshot v1, https://goo.gl/fbAQLP\n\nexports[`fixtures build alias with microbundle 1`] = `\n\"Used script: microbundle --no-sourcemap --alias ./constants=./constants-debug\n\nDirectory tree:\n\nalias\n  dist\n    alias-mapping.esm.mjs\n    alias-mapping.js\n    alias-mapping.umd.js\n  package.json\n  src\n    constants-debug.js\n    constants.js\n    index.js\n\n\nBuild \\\\\"alias-mapping\\\\\" to dist:\n62 B: alias-mapping.js.gz\n46 B: alias-mapping.js.br\n62 B: alias-mapping.esm.mjs.gz\n46 B: alias-mapping.esm.mjs.br\n118 B: alias-mapping.umd.js.gz\n83 B: alias-mapping.umd.js.br\"\n`;\n\nexports[`fixtures build alias with microbundle 2`] = `3`;\n\nexports[`fixtures build alias with microbundle 3`] = `\n\"console.log(\\\\\"DEBUG should be true: \\\\\",!0);\n\"\n`;\n\nexports[`fixtures build alias with microbundle 4`] = `\n\"console.log(\\\\\"DEBUG should be true: \\\\\",!0);\n\"\n`;\n\nexports[`fixtures build alias with microbundle 5`] = `\n\"!function(e){\\\\\"function\\\\\"==typeof define&&define.amd?define(e):e()}(function(){console.log(\\\\\"DEBUG should be true: \\\\\",!0)});\n\"\n`;\n\nexports[`fixtures build alias-external with microbundle 1`] = `\n\"Used script: microbundle --alias tiny-glob=./colossal-glob.js\n\nDirectory tree:\n\nalias-external\n  dist\n    alias-external.esm.mjs\n    alias-external.esm.mjs.map\n    alias-external.js\n    alias-external.js.map\n    alias-external.umd.js\n    alias-external.umd.js.map\n  package.json\n  src\n    colossal-glob.js\n    index.js\n\n\nBuild \\\\\"alias-external\\\\\" to dist:\n37 B: alias-external.js.gz\n21 B: alias-external.js.br\n37 B: alias-external.esm.mjs.gz\n21 B: alias-external.esm.mjs.br\n93 B: alias-external.umd.js.gz\n89 B: alias-external.umd.js.br\"\n`;\n\nexports[`fixtures build alias-external with microbundle 2`] = `6`;\n\nexports[`fixtures build alias-external with microbundle 3`] = `\n\"console.log(42);\n//# sourceMappingURL=alias-external.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build alias-external with microbundle 4`] = `\n\"console.log(42);\n//# sourceMappingURL=alias-external.js.map\n\"\n`;\n\nexports[`fixtures build alias-external with microbundle 5`] = `\n\"!function(n){\\\\\"function\\\\\"==typeof define&&define.amd?define(n):n()}(function(){console.log(42)});\n//# sourceMappingURL=alias-external.umd.js.map\n\"\n`;\n\nexports[`fixtures build async-iife-ts with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nasync-iife-ts\n  dist\n    async-iife-ts.esm.mjs\n    async-iife-ts.esm.mjs.map\n    async-iife-ts.js\n    async-iife-ts.js.map\n    async-iife-ts.umd.js\n    async-iife-ts.umd.js.map\n    index.d.ts\n  node_modules\n  package.json\n  src\n    index.ts\n  tsconfig.json\n\n\nBuild \\\\\"async-iife-ts\\\\\" to dist:\n70 B: async-iife-ts.js.gz\n55 B: async-iife-ts.js.br\n70 B: async-iife-ts.esm.mjs.gz\n55 B: async-iife-ts.esm.mjs.br\n125 B: async-iife-ts.umd.js.gz\n95 B: async-iife-ts.umd.js.br\"\n`;\n\nexports[`fixtures build async-iife-ts with microbundle 2`] = `7`;\n\nexports[`fixtures build async-iife-ts with microbundle 3`] = `\n\"try{console.log(\\\\\"foo\\\\\")}catch(o){Promise.reject(o)}\n//# sourceMappingURL=async-iife-ts.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build async-iife-ts with microbundle 4`] = `\n\"try{console.log(\\\\\"foo\\\\\")}catch(o){Promise.reject(o)}\n//# sourceMappingURL=async-iife-ts.js.map\n\"\n`;\n\nexports[`fixtures build async-iife-ts with microbundle 5`] = `\n\"!function(e){\\\\\"function\\\\\"==typeof define&&define.amd?define(e):e()}(function(){try{console.log(\\\\\"foo\\\\\")}catch(e){Promise.reject(e)}});\n//# sourceMappingURL=async-iife-ts.umd.js.map\n\"\n`;\n\nexports[`fixtures build async-iife-ts with microbundle 6`] = `\"\"`;\n\nexports[`fixtures build async-ts with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nasync-ts\n  dist\n    async-ts.esm.mjs\n    async-ts.esm.mjs.map\n    async-ts.js\n    async-ts.js.map\n    async-ts.umd.js\n    async-ts.umd.js.map\n    index.d.ts\n  node_modules\n  package.json\n  src\n    index.ts\n  tsconfig.json\n\n\nBuild \\\\\"async-ts\\\\\" to dist:\n117 B: async-ts.js.gz\n91 B: async-ts.js.br\n128 B: async-ts.esm.mjs.gz\n108 B: async-ts.esm.mjs.br\n217 B: async-ts.umd.js.gz\n164 B: async-ts.umd.js.br\"\n`;\n\nexports[`fixtures build async-ts with microbundle 2`] = `7`;\n\nexports[`fixtures build async-ts with microbundle 3`] = `\n\"var o=/*#__PURE__*/function(){function o(){}return o.prototype.foo=function(){return Promise.resolve()},o}();export{o as MyClass};\n//# sourceMappingURL=async-ts.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build async-ts with microbundle 4`] = `\n\"exports.MyClass=/*#__PURE__*/function(){function o(){}return o.prototype.foo=function(){return Promise.resolve()},o}();\n//# sourceMappingURL=async-ts.js.map\n\"\n`;\n\nexports[`fixtures build async-ts with microbundle 5`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?o(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],o):o((e||self).asyncTs={})}(this,function(e){e.MyClass=/*#__PURE__*/function(){function e(){}return e.prototype.foo=function(){return Promise.resolve()},e}()});\n//# sourceMappingURL=async-ts.umd.js.map\n\"\n`;\n\nexports[`fixtures build async-ts with microbundle 6`] = `\n\"export declare class MyClass {\n    foo(): Promise<void>;\n}\n\"\n`;\n\nexports[`fixtures build basic with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic\n  dist\n    basic-lib.esm.mjs\n    basic-lib.esm.mjs.map\n    basic-lib.js\n    basic-lib.js.map\n    basic-lib.umd.js\n    basic-lib.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"basic-lib\\\\\" to dist:\n187 B: basic-lib.js.gz\n138 B: basic-lib.js.br\n188 B: basic-lib.esm.mjs.gz\n139 B: basic-lib.esm.mjs.br\n273 B: basic-lib.umd.js.gz\n211 B: basic-lib.umd.js.br\"\n`;\n\nexports[`fixtures build basic with microbundle 2`] = `6`;\n\nexports[`fixtures build basic with microbundle 3`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=basic-lib.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic with microbundle 4`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=basic-lib.js.map\n\"\n`;\n\nexports[`fixtures build basic with microbundle 5`] = `\n\"!function(e,r){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=r():\\\\\"function\\\\\"==typeof define&&define.amd?define(r):(e||self).basicLib=r()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,r){return e+r},0))}catch(e){return Promise.reject(e)}};return function(){try{var r=arguments,n=[].slice.call(r);return Promise.resolve(e.apply(void 0,n)).then(function(r){return Promise.resolve(e.apply(void 0,n)).then(function(e){return[r,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=basic-lib.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-babelrc with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic-babelrc\n  dist\n    basic-babelrc.esm.mjs\n    basic-babelrc.esm.mjs.map\n    basic-babelrc.js\n    basic-babelrc.js.map\n    basic-babelrc.umd.js\n    basic-babelrc.umd.js.map\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"basic-babelrc\\\\\" to dist:\n122 B: basic-babelrc.js.gz\n91 B: basic-babelrc.js.br\n122 B: basic-babelrc.esm.mjs.gz\n91 B: basic-babelrc.esm.mjs.br\n158 B: basic-babelrc.umd.js.gz\n121 B: basic-babelrc.umd.js.br\"\n`;\n\nexports[`fixtures build basic-babelrc with microbundle 2`] = `6`;\n\nexports[`fixtures build basic-babelrc with microbundle 3`] = `\n\"function r(r){return void 0===r&&(r=function(r){throw new Error(\\\\\"required!\\\\\")}()),!0===r||function(r){throw new Error(\\\\\"Falsey!\\\\\")}()}r(!0),r(!1);\n//# sourceMappingURL=basic-babelrc.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-babelrc with microbundle 4`] = `\n\"function r(r){return void 0===r&&(r=function(r){throw new Error(\\\\\"required!\\\\\")}()),!0===r||function(r){throw new Error(\\\\\"Falsey!\\\\\")}()}r(!0),r(!1);\n//# sourceMappingURL=basic-babelrc.js.map\n\"\n`;\n\nexports[`fixtures build basic-babelrc with microbundle 5`] = `\n\"!function(n){\\\\\"function\\\\\"==typeof define&&define.amd?define(n):n()}(function(){function n(n){return void 0===n&&(n=function(n){throw new Error(\\\\\"required!\\\\\")}()),!0===n||function(n){throw new Error(\\\\\"Falsey!\\\\\")}()}n(!0),n(!1)});\n//# sourceMappingURL=basic-babelrc.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-compress-false with microbundle 1`] = `\n\"Used script: microbundle --compress=false\n\nDirectory tree:\n\nbasic-compress-false\n  dist\n    basic-compress-false.esm.mjs\n    basic-compress-false.esm.mjs.map\n    basic-compress-false.js\n    basic-compress-false.js.map\n    basic-compress-false.umd.js\n    basic-compress-false.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"basic-compress-false\\\\\" to dist:\n260 B: basic-compress-false.js.gz\n206 B: basic-compress-false.js.br\n258 B: basic-compress-false.esm.mjs.gz\n209 B: basic-compress-false.esm.mjs.br\n383 B: basic-compress-false.umd.js.gz\n305 B: basic-compress-false.umd.js.br\"\n`;\n\nexports[`fixtures build basic-compress-false with microbundle 2`] = `6`;\n\nexports[`fixtures build basic-compress-false with microbundle 3`] = `\n\"var two = function two() {\n  try {\n    var _arguments2 = arguments;\n    return Promise.resolve([].slice.call(_arguments2).reduce(function (total, value) {\n      return total + value;\n    }, 0));\n  } catch (e) {\n    return Promise.reject(e);\n  }\n};\n\nvar index = (function () {\n  try {\n    var _arguments2 = arguments;\n    var args = [].slice.call(_arguments2);\n    return Promise.resolve(two.apply(void 0, args)).then(function (_two) {\n      return Promise.resolve(two.apply(void 0, args)).then(function (_two2) {\n        return [_two, _two2];\n      });\n    });\n  } catch (e) {\n    return Promise.reject(e);\n  }\n});\n\nexport default index;\n//# sourceMappingURL=basic-compress-false.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-compress-false with microbundle 4`] = `\n\"var two = function two() {\n  try {\n    var _arguments2 = arguments;\n    return Promise.resolve([].slice.call(_arguments2).reduce(function (total, value) {\n      return total + value;\n    }, 0));\n  } catch (e) {\n    return Promise.reject(e);\n  }\n};\n\nvar index = (function () {\n  try {\n    var _arguments2 = arguments;\n    var args = [].slice.call(_arguments2);\n    return Promise.resolve(two.apply(void 0, args)).then(function (_two) {\n      return Promise.resolve(two.apply(void 0, args)).then(function (_two2) {\n        return [_two, _two2];\n      });\n    });\n  } catch (e) {\n    return Promise.reject(e);\n  }\n});\n\nmodule.exports = index;\n//# sourceMappingURL=basic-compress-false.js.map\n\"\n`;\n\nexports[`fixtures build basic-compress-false with microbundle 5`] = `\n\"(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(global = global || self, global.basicCompressFalse = factory());\n}(this, (function () {\n\tvar two = function two() {\n\t  try {\n\t    var _arguments2 = arguments;\n\t    return Promise.resolve([].slice.call(_arguments2).reduce(function (total, value) {\n\t      return total + value;\n\t    }, 0));\n\t  } catch (e) {\n\t    return Promise.reject(e);\n\t  }\n\t};\n\n\tvar index = (function () {\n\t  try {\n\t    var _arguments2 = arguments;\n\t    var args = [].slice.call(_arguments2);\n\t    return Promise.resolve(two.apply(void 0, args)).then(function (_two) {\n\t      return Promise.resolve(two.apply(void 0, args)).then(function (_two2) {\n\t        return [_two, _two2];\n\t      });\n\t    });\n\t  } catch (e) {\n\t    return Promise.reject(e);\n\t  }\n\t});\n\n\treturn index;\n\n})));\n//# sourceMappingURL=basic-compress-false.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-css with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic-css\n  dist\n    basic-css.css\n    basic-css.css.map\n    basic-css.esm.mjs\n    basic-css.esm.mjs.map\n    basic-css.js\n    basic-css.js.map\n    basic-css.umd.js\n    basic-css.umd.js.map\n  package.json\n  src\n    index.js\n    two.css\n\n\nBuild \\\\\"basic-css\\\\\" to dist:\n107 B: basic-css.js.gz\n60 B: basic-css.js.br\n109 B: basic-css.esm.mjs.gz\n67 B: basic-css.esm.mjs.br\n195 B: basic-css.umd.js.gz\n138 B: basic-css.umd.js.br\"\n`;\n\nexports[`fixtures build basic-css with microbundle 2`] = `8`;\n\nexports[`fixtures build basic-css with microbundle 3`] = `\n\".testing{display:flex;color:red;background:#00f}\n/*# sourceMappingURL=basic-css.css.map */\"\n`;\n\nexports[`fixtures build basic-css with microbundle 4`] = `\n\"function e(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"testing\\\\\",e}export default e;\n//# sourceMappingURL=basic-css.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-css with microbundle 5`] = `\n\"module.exports=function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"testing\\\\\",e};\n//# sourceMappingURL=basic-css.js.map\n\"\n`;\n\nexports[`fixtures build basic-css with microbundle 6`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).basicCss=n()}(this,function(){return function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"testing\\\\\",e}});\n//# sourceMappingURL=basic-css.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-dashed-external with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic-dashed-external\n  dist\n    basic-dashed-external.esm.mjs\n    basic-dashed-external.esm.mjs.map\n    basic-dashed-external.js\n    basic-dashed-external.js.map\n    basic-dashed-external.umd.js\n    basic-dashed-external.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"basic-dashed-external\\\\\" to dist:\n276 B: basic-dashed-external.js.gz\n212 B: basic-dashed-external.js.br\n214 B: basic-dashed-external.esm.mjs.gz\n164 B: basic-dashed-external.esm.mjs.br\n357 B: basic-dashed-external.umd.js.gz\n285 B: basic-dashed-external.umd.js.br\"\n`;\n\nexports[`fixtures build basic-dashed-external with microbundle 2`] = `6`;\n\nexports[`fixtures build basic-dashed-external with microbundle 3`] = `\n\"import r from\\\\\"tiny-glob\\\\\";var e=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};console.log(r);export default function(){try{var r=arguments,t=[].slice.call(r);return Promise.resolve(e.apply(void 0,t)).then(function(r){return Promise.resolve(e.apply(void 0,t)).then(function(e){return[r,e]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=basic-dashed-external.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-dashed-external with microbundle 4`] = `\n\"var e=require(\\\\\"tiny-glob\\\\\");function r(e){return e&&\\\\\"object\\\\\"==typeof e&&\\\\\"default\\\\\"in e?e:{default:e}}var t=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,r){return e+r},0))}catch(e){return Promise.reject(e)}};console.log(/*#__PURE__*/r(e).default),module.exports=function(){try{var e=arguments,r=[].slice.call(e);return Promise.resolve(t.apply(void 0,r)).then(function(e){return Promise.resolve(t.apply(void 0,r)).then(function(r){return[e,r]})})}catch(e){return Promise.reject(e)}};\n//# sourceMappingURL=basic-dashed-external.js.map\n\"\n`;\n\nexports[`fixtures build basic-dashed-external with microbundle 5`] = `\n\"!function(e,t){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=t(require(\\\\\"tiny-glob\\\\\")):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"tiny-glob\\\\\"],t):(e||self).basicDashedExternal=t(e.tinyGlob)}(this,function(e){function t(e){return e&&\\\\\"object\\\\\"==typeof e&&\\\\\"default\\\\\"in e?e:{default:e}}var n=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,t){return e+t},0))}catch(e){return Promise.reject(e)}};return console.log(/*#__PURE__*/t(e).default),function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(n.apply(void 0,t)).then(function(e){return Promise.resolve(n.apply(void 0,t)).then(function(t){return[e,t]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=basic-dashed-external.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-flow with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic-flow\n  dist\n    basic-lib-flow.esm.mjs\n    basic-lib-flow.esm.mjs.map\n    basic-lib-flow.js\n    basic-lib-flow.js.map\n    basic-lib-flow.umd.js\n    basic-lib-flow.umd.js.map\n  package.json\n  src\n    fruits.js\n    index.js\n\n\nBuild \\\\\"basic-lib-flow\\\\\" to dist:\n57 B: basic-lib-flow.js.gz\n43 B: basic-lib-flow.js.br\n56 B: basic-lib-flow.esm.mjs.gz\n42 B: basic-lib-flow.esm.mjs.br\n171 B: basic-lib-flow.umd.js.gz\n132 B: basic-lib-flow.umd.js.br\"\n`;\n\nexports[`fixtures build basic-flow with microbundle 2`] = `6`;\n\nexports[`fixtures build basic-flow with microbundle 3`] = `\n\"export default[\\\\\"banana\\\\\",\\\\\"raspberry\\\\\"];\n//# sourceMappingURL=basic-lib-flow.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-flow with microbundle 4`] = `\n\"module.exports=[\\\\\"banana\\\\\",\\\\\"raspberry\\\\\"];\n//# sourceMappingURL=basic-lib-flow.js.map\n\"\n`;\n\nexports[`fixtures build basic-flow with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=[\\\\\"banana\\\\\",\\\\\"raspberry\\\\\"]:\\\\\"function\\\\\"==typeof define&&define.amd?define(function(){return[\\\\\"banana\\\\\",\\\\\"raspberry\\\\\"]}):(e||self).basicLibFlow=[\\\\\"banana\\\\\",\\\\\"raspberry\\\\\"]}(this);\n//# sourceMappingURL=basic-lib-flow.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-json with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic-json\n  dist\n    basic-json.esm.mjs\n    basic-json.esm.mjs.map\n    basic-json.js\n    basic-json.js.map\n    basic-json.umd.js\n    basic-json.umd.js.map\n  package.json\n  src\n    index.js\n    two.json\n\n\nBuild \\\\\"basic-json\\\\\" to dist:\n93 B: basic-json.js.gz\n65 B: basic-json.js.br\n92 B: basic-json.esm.mjs.gz\n64 B: basic-json.esm.mjs.br\n180 B: basic-json.umd.js.gz\n129 B: basic-json.umd.js.br\"\n`;\n\nexports[`fixtures build basic-json with microbundle 2`] = `6`;\n\nexports[`fixtures build basic-json with microbundle 3`] = `\n\"var e={test:\\\\\"true\\\\\"};export default function(){return Promise.resolve(e)}\n//# sourceMappingURL=basic-json.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-json with microbundle 4`] = `\n\"var e={test:\\\\\"true\\\\\"};module.exports=function(){return Promise.resolve(e)};\n//# sourceMappingURL=basic-json.js.map\n\"\n`;\n\nexports[`fixtures build basic-json with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).basicJson=n()}(this,function(){var e={test:\\\\\"true\\\\\"};return function(){return Promise.resolve(e)}});\n//# sourceMappingURL=basic-json.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic-multi-source\n  a.js\n  b.js\n  dist\n    a.esm.mjs\n    a.esm.mjs.map\n    a.js\n    a.js.map\n    a.umd.js\n    a.umd.js.map\n    b.esm.mjs\n    b.esm.mjs.map\n    b.js\n    b.js.map\n    b.umd.js\n    b.umd.js.map\n  package.json\n\n\nBuild \\\\\"basic-multi-source\\\\\" to dist:\n43 B: a.js.gz\n27 B: a.js.br\n43 B: a.esm.mjs.gz\n27 B: a.esm.mjs.br\n99 B: a.umd.js.gz\n84 B: a.umd.js.br\n43 B: b.js.gz\n27 B: b.js.br\n43 B: b.esm.mjs.gz\n27 B: b.esm.mjs.br\n99 B: b.umd.js.gz\n79 B: b.umd.js.br\"\n`;\n\nexports[`fixtures build basic-multi-source with microbundle 2`] = `12`;\n\nexports[`fixtures build basic-multi-source with microbundle 3`] = `\n\"console.log(\\\\\"i am a\\\\\");\n//# sourceMappingURL=a.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source with microbundle 4`] = `\n\"console.log(\\\\\"i am a\\\\\");\n//# sourceMappingURL=a.js.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source with microbundle 5`] = `\n\"!function(n){\\\\\"function\\\\\"==typeof define&&define.amd?define(n):n()}(function(){console.log(\\\\\"i am a\\\\\")});\n//# sourceMappingURL=a.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source with microbundle 6`] = `\n\"console.log(\\\\\"i am b\\\\\");\n//# sourceMappingURL=b.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source with microbundle 7`] = `\n\"console.log(\\\\\"i am b\\\\\");\n//# sourceMappingURL=b.js.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source with microbundle 8`] = `\n\"!function(n){\\\\\"function\\\\\"==typeof define&&define.amd?define(n):n()}(function(){console.log(\\\\\"i am b\\\\\")});\n//# sourceMappingURL=b.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source-css with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic-multi-source-css\n  a.css\n  a.js\n  b.css\n  b.js\n  dist\n    a.css\n    a.css.map\n    a.esm.mjs\n    a.esm.mjs.map\n    a.js\n    a.js.map\n    a.umd.js\n    a.umd.js.map\n    b.css\n    b.css.map\n    b.esm.mjs\n    b.esm.mjs.map\n    b.js\n    b.js.map\n    b.umd.js\n    b.umd.js.map\n  package.json\n\n\nBuild \\\\\"basic-multi-source-css\\\\\" to dist:\n104 B: a.js.gz\n61 B: a.js.br\n105 B: a.esm.mjs.gz\n67 B: a.esm.mjs.br\n201 B: a.umd.js.gz\n133 B: a.umd.js.br\n104 B: b.js.gz\n61 B: b.js.br\n106 B: b.esm.mjs.gz\n67 B: b.esm.mjs.br\n201 B: b.umd.js.gz\n134 B: b.umd.js.br\"\n`;\n\nexports[`fixtures build basic-multi-source-css with microbundle 2`] = `16`;\n\nexports[`fixtures build basic-multi-source-css with microbundle 3`] = `\n\".a{display:flex;color:green;background:pink}\n/*# sourceMappingURL=a.css.map */\"\n`;\n\nexports[`fixtures build basic-multi-source-css with microbundle 4`] = `\n\"function e(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"a\\\\\",e}export default e;\n//# sourceMappingURL=a.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source-css with microbundle 5`] = `\n\"module.exports=function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"a\\\\\",e};\n//# sourceMappingURL=a.js.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source-css with microbundle 6`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).basicMultiSourceCss=n()}(this,function(){return function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"a\\\\\",e}});\n//# sourceMappingURL=a.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source-css with microbundle 7`] = `\n\".b{display:flex;color:red;background:#00f}\n/*# sourceMappingURL=b.css.map */\"\n`;\n\nexports[`fixtures build basic-multi-source-css with microbundle 8`] = `\n\"function e(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"b\\\\\",e}export default e;\n//# sourceMappingURL=b.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source-css with microbundle 9`] = `\n\"module.exports=function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"b\\\\\",e};\n//# sourceMappingURL=b.js.map\n\"\n`;\n\nexports[`fixtures build basic-multi-source-css with microbundle 10`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).basicMultiSourceCss=n()}(this,function(){return function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"b\\\\\",e}});\n//# sourceMappingURL=b.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-no-compress with microbundle 1`] = `\n\"Used script: microbundle --no-compress\n\nDirectory tree:\n\nbasic-no-compress\n  dist\n    basic-no-compress.esm.mjs\n    basic-no-compress.esm.mjs.map\n    basic-no-compress.js\n    basic-no-compress.js.map\n    basic-no-compress.umd.js\n    basic-no-compress.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"basic-no-compress\\\\\" to dist:\n260 B: basic-no-compress.js.gz\n206 B: basic-no-compress.js.br\n258 B: basic-no-compress.esm.mjs.gz\n209 B: basic-no-compress.esm.mjs.br\n381 B: basic-no-compress.umd.js.gz\n310 B: basic-no-compress.umd.js.br\"\n`;\n\nexports[`fixtures build basic-no-compress with microbundle 2`] = `6`;\n\nexports[`fixtures build basic-no-compress with microbundle 3`] = `\n\"var two = function two() {\n  try {\n    var _arguments2 = arguments;\n    return Promise.resolve([].slice.call(_arguments2).reduce(function (total, value) {\n      return total + value;\n    }, 0));\n  } catch (e) {\n    return Promise.reject(e);\n  }\n};\n\nvar index = (function () {\n  try {\n    var _arguments2 = arguments;\n    var args = [].slice.call(_arguments2);\n    return Promise.resolve(two.apply(void 0, args)).then(function (_two) {\n      return Promise.resolve(two.apply(void 0, args)).then(function (_two2) {\n        return [_two, _two2];\n      });\n    });\n  } catch (e) {\n    return Promise.reject(e);\n  }\n});\n\nexport default index;\n//# sourceMappingURL=basic-no-compress.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-no-compress with microbundle 4`] = `\n\"var two = function two() {\n  try {\n    var _arguments2 = arguments;\n    return Promise.resolve([].slice.call(_arguments2).reduce(function (total, value) {\n      return total + value;\n    }, 0));\n  } catch (e) {\n    return Promise.reject(e);\n  }\n};\n\nvar index = (function () {\n  try {\n    var _arguments2 = arguments;\n    var args = [].slice.call(_arguments2);\n    return Promise.resolve(two.apply(void 0, args)).then(function (_two) {\n      return Promise.resolve(two.apply(void 0, args)).then(function (_two2) {\n        return [_two, _two2];\n      });\n    });\n  } catch (e) {\n    return Promise.reject(e);\n  }\n});\n\nmodule.exports = index;\n//# sourceMappingURL=basic-no-compress.js.map\n\"\n`;\n\nexports[`fixtures build basic-no-compress with microbundle 5`] = `\n\"(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(global = global || self, global.basicNoCompress = factory());\n}(this, (function () {\n\tvar two = function two() {\n\t  try {\n\t    var _arguments2 = arguments;\n\t    return Promise.resolve([].slice.call(_arguments2).reduce(function (total, value) {\n\t      return total + value;\n\t    }, 0));\n\t  } catch (e) {\n\t    return Promise.reject(e);\n\t  }\n\t};\n\n\tvar index = (function () {\n\t  try {\n\t    var _arguments2 = arguments;\n\t    var args = [].slice.call(_arguments2);\n\t    return Promise.resolve(two.apply(void 0, args)).then(function (_two) {\n\t      return Promise.resolve(two.apply(void 0, args)).then(function (_two2) {\n\t        return [_two, _two2];\n\t      });\n\t    });\n\t  } catch (e) {\n\t    return Promise.reject(e);\n\t  }\n\t});\n\n\treturn index;\n\n})));\n//# sourceMappingURL=basic-no-compress.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-no-pkg-main with microbundle 1`] = `\n\"Used script: microbundle --pkg-main false\n\nDirectory tree:\n\nbasic-no-pkg-main\n  dist\n    basic-no-pkg-main.js\n    basic-no-pkg-main.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"basic-no-pkg-main\\\\\" to dist:\n187 B: basic-no-pkg-main.js.gz\n138 B: basic-no-pkg-main.js.br\n188 B: basic-no-pkg-main.js.gz\n139 B: basic-no-pkg-main.js.br\n278 B: basic-no-pkg-main.js.gz\n229 B: basic-no-pkg-main.js.br\"\n`;\n\nexports[`fixtures build basic-no-pkg-main with microbundle 2`] = `2`;\n\nexports[`fixtures build basic-no-pkg-main with microbundle 3`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).basicNoPkgMain=n()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,n){return e+n},0))}catch(e){return Promise.reject(e)}};return function(){try{var n=arguments,r=[].slice.call(n);return Promise.resolve(e.apply(void 0,r)).then(function(n){return Promise.resolve(e.apply(void 0,r)).then(function(e){return[n,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=basic-no-pkg-main.js.map\n\"\n`;\n\nexports[`fixtures build basic-node-internals with microbundle 1`] = `\n\"Used script: microbundle --target=node -f cjs\n\nDirectory tree:\n\nbasic-node-internals\n  dist\n    basic-node-internals.js\n    basic-node-internals.js.map\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"basic-node-internals\\\\\" to dist:\n191 B: basic-node-internals.js.gz\n149 B: basic-node-internals.js.br\"\n`;\n\nexports[`fixtures build basic-node-internals with microbundle 2`] = `2`;\n\nexports[`fixtures build basic-node-internals with microbundle 3`] = `\n\"var child_process = require('child_process');\n\nfunction runCommand(cmd) {\n  return new Promise((resolve, reject) => {\n    child_process.exec(cmd, (error, stdout, stderr) => {\n      if (error) {\n        reject(error);\n      }\n\n      resolve(stdout || stderr);\n    });\n  });\n}\n\nexports.runCommand = runCommand;\n//# sourceMappingURL=basic-node-internals.js.map\n\"\n`;\n\nexports[`fixtures build basic-ts with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic-ts\n  dist\n    basic-lib-ts.esm.mjs\n    basic-lib-ts.esm.mjs.map\n    basic-lib-ts.js\n    basic-lib-ts.js.map\n    basic-lib-ts.umd.js\n    basic-lib-ts.umd.js.map\n    car.d.ts\n    index.d.ts\n  node_modules\n  package.json\n  src\n    car.ts\n    index.ts\n  tsconfig.json\n\n\nBuild \\\\\"basic-lib-ts\\\\\" to dist:\n118 B: basic-lib-ts.js.gz\n94 B: basic-lib-ts.js.br\n118 B: basic-lib-ts.esm.mjs.gz\n97 B: basic-lib-ts.esm.mjs.br\n201 B: basic-lib-ts.umd.js.gz\n150 B: basic-lib-ts.umd.js.br\"\n`;\n\nexports[`fixtures build basic-ts with microbundle 2`] = `8`;\n\nexports[`fixtures build basic-ts with microbundle 3`] = `\n\"var n=new(/*#__PURE__*/function(){function n(){}return n.prototype.drive=function(n){return!0},n}());export default n;\n//# sourceMappingURL=basic-lib-ts.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-ts with microbundle 4`] = `\n\"var n=new(/*#__PURE__*/function(){function n(){}return n.prototype.drive=function(n){return!0},n}());module.exports=n;\n//# sourceMappingURL=basic-lib-ts.js.map\n\"\n`;\n\nexports[`fixtures build basic-ts with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).basicLibTs=n()}(this,function(){return new(/*#__PURE__*/function(){function e(){}return e.prototype.drive=function(e){return!0},e}())});\n//# sourceMappingURL=basic-lib-ts.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-ts with microbundle 6`] = `\n\"export interface Driveable {\n    drive(distance: number): boolean;\n}\nexport default class Car implements Driveable {\n    drive(distance: number): boolean;\n}\n\"\n`;\n\nexports[`fixtures build basic-ts with microbundle 7`] = `\n\"import Car from './car';\ndeclare let Ferrari: Car;\nexport default Ferrari;\n\"\n`;\n\nexports[`fixtures build basic-tsx with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic-tsx\n  dist\n    basic-lib-tsx.esm.mjs\n    basic-lib-tsx.esm.mjs.map\n    basic-lib-tsx.js\n    basic-lib-tsx.js.map\n    basic-lib-tsx.umd.js\n    basic-lib-tsx.umd.js.map\n    index.d.ts\n  node_modules\n  package.json\n  src\n    index.tsx\n  tsconfig.json\n\n\nBuild \\\\\"basic-lib-tsx\\\\\" to dist:\n213 B: basic-lib-tsx.js.gz\n164 B: basic-lib-tsx.js.br\n218 B: basic-lib-tsx.esm.mjs.gz\n172 B: basic-lib-tsx.esm.mjs.br\n298 B: basic-lib-tsx.umd.js.gz\n232 B: basic-lib-tsx.umd.js.br\"\n`;\n\nexports[`fixtures build basic-tsx with microbundle 2`] = `7`;\n\nexports[`fixtures build basic-tsx with microbundle 3`] = `\n\"var n=function(n,r){return{tag:n,props:r,children:[].slice.call(arguments,2)}},r=/*#__PURE__*/function(){function r(){}return r.prototype.render=function(){return n(\\\\\"div\\\\\",{id:\\\\\"app\\\\\"},n(\\\\\"h1\\\\\",null,\\\\\"Hello, World!\\\\\"),n(\\\\\"p\\\\\",null,\\\\\"A JSX demo.\\\\\"))},r}();export default r;\n//# sourceMappingURL=basic-lib-tsx.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-tsx with microbundle 4`] = `\n\"var n=function(n,r){return{tag:n,props:r,children:[].slice.call(arguments,2)}};module.exports=/*#__PURE__*/function(){function r(){}return r.prototype.render=function(){return n(\\\\\"div\\\\\",{id:\\\\\"app\\\\\"},n(\\\\\"h1\\\\\",null,\\\\\"Hello, World!\\\\\"),n(\\\\\"p\\\\\",null,\\\\\"A JSX demo.\\\\\"))},r}();\n//# sourceMappingURL=basic-lib-tsx.js.map\n\"\n`;\n\nexports[`fixtures build basic-tsx with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).basicLibTsx=n()}(this,function(){var e=function(e,n){return{tag:e,props:n,children:[].slice.call(arguments,2)}};/*#__PURE__*/\nreturn function(){function n(){}return n.prototype.render=function(){return e(\\\\\"div\\\\\",{id:\\\\\"app\\\\\"},e(\\\\\"h1\\\\\",null,\\\\\"Hello, World!\\\\\"),e(\\\\\"p\\\\\",null,\\\\\"A JSX demo.\\\\\"))},n}()});\n//# sourceMappingURL=basic-lib-tsx.umd.js.map\n\"\n`;\n\nexports[`fixtures build basic-tsx with microbundle 6`] = `\n\"export default class Foo {\n    render(): any;\n}\n\"\n`;\n\nexports[`fixtures build basic-with-cwd with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nbasic\n  dist\n    basic.esm.mjs\n    basic.esm.mjs.map\n    basic.js\n    basic.js.map\n    basic.umd.js\n    basic.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"basic\\\\\" to dist:\n187 B: basic.js.gz\n138 B: basic.js.br\n188 B: basic.esm.mjs.gz\n139 B: basic.esm.mjs.br\n269 B: basic.umd.js.gz\n198 B: basic.umd.js.br\"\n`;\n\nexports[`fixtures build basic-with-cwd with microbundle 2`] = `6`;\n\nexports[`fixtures build basic-with-cwd with microbundle 3`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=basic.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build basic-with-cwd with microbundle 4`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=basic.js.map\n\"\n`;\n\nexports[`fixtures build basic-with-cwd with microbundle 5`] = `\n\"!function(e,r){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=r():\\\\\"function\\\\\"==typeof define&&define.amd?define(r):(e||self).basic=r()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,r){return e+r},0))}catch(e){return Promise.reject(e)}};return function(){try{var r=arguments,n=[].slice.call(r);return Promise.resolve(e.apply(void 0,n)).then(function(r){return Promise.resolve(e.apply(void 0,n)).then(function(e){return[r,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=basic.umd.js.map\n\"\n`;\n\nexports[`fixtures build class-decorators-ts with microbundle 1`] = `\n\"Used script: microbundle --raw\n\nDirectory tree:\n\nclass-decorators-ts\n  dist\n    class-decorators-ts.esm.mjs\n    class-decorators-ts.esm.mjs.map\n    class-decorators-ts.js\n    class-decorators-ts.js.map\n    class-decorators-ts.umd.js\n    class-decorators-ts.umd.js.map\n    index.d.ts\n  node_modules\n  package.json\n  src\n    index.ts\n  tsconfig.json\n\n\nBuild \\\\\"class-decorators-ts\\\\\" to dist:\n348 B: class-decorators-ts.js.gz\n288 B: class-decorators-ts.js.br\n348 B: class-decorators-ts.esm.mjs.gz\n288 B: class-decorators-ts.esm.mjs.br\n415 B: class-decorators-ts.umd.js.gz\n353 B: class-decorators-ts.umd.js.br\"\n`;\n\nexports[`fixtures build class-decorators-ts with microbundle 2`] = `7`;\n\nexports[`fixtures build class-decorators-ts with microbundle 3`] = `\n\"var e=/*#__PURE__*/function(){function e(e){this.greeting=e}return e.prototype.greet=function(){return\\\\\"Hello, \\\\\"+this.greeting},e}(),t=new(e=function(e,t,r,n){var o,c=arguments.length,l=c<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\\\\\"object\\\\\"==typeof Reflect&&\\\\\"function\\\\\"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,n);else for(var f=e.length-1;f>=0;f--)(o=e[f])&&(l=(c<3?o(l):c>3?o(t,r,l):o(t,r))||l);return c>3&&l&&Object.defineProperty(t,r,l),l}([function(e){Object.seal(e),Object.seal(e.prototype)}],e))(\\\\\"Hello World\\\\\");export default t;\n//# sourceMappingURL=class-decorators-ts.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build class-decorators-ts with microbundle 4`] = `\n\"var e=/*#__PURE__*/function(){function e(e){this.greeting=e}return e.prototype.greet=function(){return\\\\\"Hello, \\\\\"+this.greeting},e}(),t=new(e=function(e,t,r,o){var n,c=arguments.length,l=c<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if(\\\\\"object\\\\\"==typeof Reflect&&\\\\\"function\\\\\"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,o);else for(var f=e.length-1;f>=0;f--)(n=e[f])&&(l=(c<3?n(l):c>3?n(t,r,l):n(t,r))||l);return c>3&&l&&Object.defineProperty(t,r,l),l}([function(e){Object.seal(e),Object.seal(e.prototype)}],e))(\\\\\"Hello World\\\\\");module.exports=t;\n//# sourceMappingURL=class-decorators-ts.js.map\n\"\n`;\n\nexports[`fixtures build class-decorators-ts with microbundle 5`] = `\n\"!function(e,t){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=t():\\\\\"function\\\\\"==typeof define&&define.amd?define(t):(e||self).classDecoratorsTs=t()}(this,function(){var e=/*#__PURE__*/function(){function e(e){this.greeting=e}return e.prototype.greet=function(){return\\\\\"Hello, \\\\\"+this.greeting},e}();return new(e=function(e,t,o,n){var r,f=arguments.length,i=f<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if(\\\\\"object\\\\\"==typeof Reflect&&\\\\\"function\\\\\"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(f<3?r(i):f>3?r(t,o,i):r(t,o))||i);return f>3&&i&&Object.defineProperty(t,o,i),i}([function(e){Object.seal(e),Object.seal(e.prototype)}],e))(\\\\\"Hello World\\\\\")});\n//# sourceMappingURL=class-decorators-ts.umd.js.map\n\"\n`;\n\nexports[`fixtures build class-decorators-ts with microbundle 6`] = `\n\"declare class Greeter {\n    greeting: string;\n    constructor(message: string);\n    greet(): string;\n}\ndeclare const _default: Greeter;\nexport default _default;\n\"\n`;\n\nexports[`fixtures build class-properties with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nclass-properties\n  dist\n    class-properties.esm.mjs\n    class-properties.esm.mjs.map\n    class-properties.js\n    class-properties.js.map\n    class-properties.umd.js\n    class-properties.umd.js.map\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"class-properties\\\\\" to dist:\n93 B: class-properties.js.gz\n79 B: class-properties.js.br\n96 B: class-properties.esm.mjs.gz\n85 B: class-properties.esm.mjs.br\n197 B: class-properties.umd.js.gz\n150 B: class-properties.umd.js.br\"\n`;\n\nexports[`fixtures build class-properties with microbundle 2`] = `6`;\n\nexports[`fixtures build class-properties with microbundle 3`] = `\n\"var a=function(){this.baz=3};a.bar=2;var r=new a;export default r;export{a as Foo};\n//# sourceMappingURL=class-properties.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build class-properties with microbundle 4`] = `\n\"var a=function(){this.baz=3};a.bar=2;var o=new a;exports.Foo=a,exports.default=o;\n//# sourceMappingURL=class-properties.js.map\n\"\n`;\n\nexports[`fixtures build class-properties with microbundle 5`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?o(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],o):o((e||self).classProperties={})}(this,function(e){var o=function(){this.baz=3};o.bar=2;var n=new o;e.Foo=o,e.default=n});\n//# sourceMappingURL=class-properties.umd.js.map\n\"\n`;\n\nexports[`fixtures build css-modules--false with microbundle 1`] = `\n\"Used script: microbundle --no-sourcemap --css-modules false\n\nDirectory tree:\n\ncss-modules--false\n  dist\n    css-modules--false.css\n    css-modules--false.esm.mjs\n    css-modules--false.js\n    css-modules--false.umd.js\n  package.json\n  src\n    index.js\n    not_scoped.css\n    not_scoped.module.css\n\n\nBuild \\\\\"css-modules--false\\\\\" to dist:\n49 B: css-modules--false.js.gz\n23 B: css-modules--false.js.br\n52 B: css-modules--false.esm.mjs.gz\n36 B: css-modules--false.esm.mjs.br\n156 B: css-modules--false.umd.js.gz\n109 B: css-modules--false.umd.js.br\"\n`;\n\nexports[`fixtures build css-modules--false with microbundle 2`] = `4`;\n\nexports[`fixtures build css-modules--false with microbundle 3`] = `\"body{display:flex;color:red;background:#00f}.test_class_that_shouldnt_be_scoped{background-color:#00f}.not_scoped_class{color:pink}\"`;\n\nexports[`fixtures build css-modules--false with microbundle 4`] = `\n\"function t(){}export default t;\n\"\n`;\n\nexports[`fixtures build css-modules--false with microbundle 5`] = `\n\"module.exports=function(){};\n\"\n`;\n\nexports[`fixtures build css-modules--false with microbundle 6`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=function(){}:\\\\\"function\\\\\"==typeof define&&define.amd?define(function(){return function(){}}):(e||self).cssModulesFalse=function(){}}(this);\n\"\n`;\n\nexports[`fixtures build css-modules--null with microbundle 1`] = `\n\"Used script: microbundle --no-sourcemap\n\nDirectory tree:\n\ncss-modules--null\n  dist\n    css-modules--null.css\n    css-modules--null.esm.mjs\n    css-modules--null.js\n    css-modules--null.umd.js\n  package.json\n  src\n    index.js\n    not_scoped.css\n    scoped.module.css\n\n\nBuild \\\\\"css-modules--null\\\\\" to dist:\n110 B: css-modules--null.js.gz\n72 B: css-modules--null.js.br\n112 B: css-modules--null.esm.mjs.gz\n77 B: css-modules--null.esm.mjs.br\n200 B: css-modules--null.umd.js.gz\n140 B: css-modules--null.umd.js.br\"\n`;\n\nexports[`fixtures build css-modules--null with microbundle 2`] = `4`;\n\nexports[`fixtures build css-modules--null with microbundle 3`] = `\"body{display:flex;color:red;background:#00f}.test_class_that_shouldnt_be_scoped{background-color:#00f}._2kWDE{color:pink}\"`;\n\nexports[`fixtures build css-modules--null with microbundle 4`] = `\n\"function e(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"_2kWDE\\\\\",e}export default e;\n\"\n`;\n\nexports[`fixtures build css-modules--null with microbundle 5`] = `\n\"module.exports=function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"_2kWDE\\\\\",e};\n\"\n`;\n\nexports[`fixtures build css-modules--null with microbundle 6`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).cssModulesNull=n()}(this,function(){return function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"_2kWDE\\\\\",e}});\n\"\n`;\n\nexports[`fixtures build css-modules--string with microbundle 1`] = `\n\"Used script: microbundle --no-sourcemap --css-modules '_contains_this_[hash]'\n\nDirectory tree:\n\ncss-modules--string\n  dist\n    css-modules--string.css\n    css-modules--string.esm.mjs\n    css-modules--string.js\n    css-modules--string.umd.js\n  package.json\n  src\n    index.js\n    scoped.css\n    scoped.module.css\n\n\nBuild \\\\\"css-modules--string\\\\\" to dist:\n166 B: css-modules--string.js.gz\n118 B: css-modules--string.js.br\n168 B: css-modules--string.esm.mjs.gz\n122 B: css-modules--string.esm.mjs.br\n263 B: css-modules--string.umd.js.gz\n192 B: css-modules--string.umd.js.br\"\n`;\n\nexports[`fixtures build css-modules--string with microbundle 2`] = `4`;\n\nexports[`fixtures build css-modules--string with microbundle 3`] = `\"body{display:flex;color:red;background:#00f}._contains_this_81567d0efc15a456670452d3277e1a68{background-color:#00f}._contains_this_0a8c24df242c2cd708036873307aea94{color:pink}\"`;\n\nexports[`fixtures build css-modules--string with microbundle 4`] = `\n\"function a(){var a=document.createElement(\\\\\"div\\\\\");return a.className=\\\\\"_contains_this_0a8c24df242c2cd708036873307aea94 _contains_this_81567d0efc15a456670452d3277e1a68\\\\\",a}export default a;\n\"\n`;\n\nexports[`fixtures build css-modules--string with microbundle 5`] = `\n\"module.exports=function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"_contains_this_0a8c24df242c2cd708036873307aea94 _contains_this_81567d0efc15a456670452d3277e1a68\\\\\",e};\n\"\n`;\n\nexports[`fixtures build css-modules--string with microbundle 6`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).cssModulesString=n()}(this,function(){return function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"_contains_this_0a8c24df242c2cd708036873307aea94 _contains_this_81567d0efc15a456670452d3277e1a68\\\\\",e}});\n\"\n`;\n\nexports[`fixtures build css-modules--true with microbundle 1`] = `\n\"Used script: microbundle --no-sourcemap --css-modules true\n\nDirectory tree:\n\ncss-modules--true\n  dist\n    css-modules--true.css\n    css-modules--true.esm.mjs\n    css-modules--true.js\n    css-modules--true.umd.js\n  package.json\n  src\n    index.js\n    scoped.css\n    scoped.module.css\n\n\nBuild \\\\\"css-modules--true\\\\\" to dist:\n139 B: css-modules--true.js.gz\n94 B: css-modules--true.js.br\n141 B: css-modules--true.esm.mjs.gz\n108 B: css-modules--true.esm.mjs.br\n230 B: css-modules--true.umd.js.gz\n165 B: css-modules--true.umd.js.br\"\n`;\n\nexports[`fixtures build css-modules--true with microbundle 2`] = `4`;\n\nexports[`fixtures build css-modules--true with microbundle 3`] = `\"body{display:flex;color:red;background:#00f}.test_class_that_should_be_scoped{background-color:#00f}._2kWDE{color:pink}\"`;\n\nexports[`fixtures build css-modules--true with microbundle 4`] = `\n\"function e(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"_2kWDE \\\\\"+(void 0).test_class_that_should_be_scoped,e}export default e;\n\"\n`;\n\nexports[`fixtures build css-modules--true with microbundle 5`] = `\n\"module.exports=function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"_2kWDE \\\\\"+(void 0).test_class_that_should_be_scoped,e};\n\"\n`;\n\nexports[`fixtures build css-modules--true with microbundle 6`] = `\n\"!function(e,t){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=t():\\\\\"function\\\\\"==typeof define&&define.amd?define(t):(e||self).cssModulesTrue=t()}(this,function(){return function(){var e=document.createElement(\\\\\"div\\\\\");return e.className=\\\\\"_2kWDE \\\\\"+(void 0).test_class_that_should_be_scoped,e}});\n\"\n`;\n\nexports[`fixtures build custom-babelrc with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\ncustom-babelrc\n  dist\n    custom-babelrc.esm.mjs\n    custom-babelrc.esm.mjs.map\n    custom-babelrc.js\n    custom-babelrc.js.map\n    custom-babelrc.umd.js\n    custom-babelrc.umd.js.map\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"custom-babelrc\\\\\" to dist:\n218 B: custom-babelrc.js.gz\n193 B: custom-babelrc.js.br\n222 B: custom-babelrc.esm.mjs.gz\n185 B: custom-babelrc.esm.mjs.br\n309 B: custom-babelrc.umd.js.gz\n260 B: custom-babelrc.umd.js.br\"\n`;\n\nexports[`fixtures build custom-babelrc with microbundle 2`] = `6`;\n\nexports[`fixtures build custom-babelrc with microbundle 3`] = `\n\"class e{constructor(){var e,r;r=[\\\\\"foo\\\\\",\\\\\"bar\\\\\"],(e=\\\\\"myFields\\\\\")in this?Object.defineProperty(this,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[e]=r}foo(){try{return Promise.resolve(this.myFields.find(e=>\\\\\"bar\\\\\"===e))}catch(e){return Promise.reject(e)}}}export{e as MyClass};\n//# sourceMappingURL=custom-babelrc.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build custom-babelrc with microbundle 4`] = `\n\"exports.MyClass=class{constructor(){var e,r;r=[\\\\\"foo\\\\\",\\\\\"bar\\\\\"],(e=\\\\\"myFields\\\\\")in this?Object.defineProperty(this,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[e]=r}foo(){try{return Promise.resolve(this.myFields.find(e=>\\\\\"bar\\\\\"===e))}catch(e){return Promise.reject(e)}}};\n//# sourceMappingURL=custom-babelrc.js.map\n\"\n`;\n\nexports[`fixtures build custom-babelrc with microbundle 5`] = `\n\"!function(e,t){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?t(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],t):t((e||self).customBabelrc={})}(this,function(e){e.MyClass=class{constructor(){var e,t;t=[\\\\\"foo\\\\\",\\\\\"bar\\\\\"],(e=\\\\\"myFields\\\\\")in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t}foo(){try{return Promise.resolve(this.myFields.find(e=>\\\\\"bar\\\\\"===e))}catch(e){return Promise.reject(e)}}}});\n//# sourceMappingURL=custom-babelrc.umd.js.map\n\"\n`;\n\nexports[`fixtures build custom-outputs with microbundle 1`] = `\n\"Used script: microbundle -f modern,es,umd,cjs\n\nDirectory tree:\n\ncustom-outputs\n  dist\n    custom-outputs.exportsx.mjs\n    custom-outputs.exportsx.mjs.map\n    custom-outputs.js\n    custom-outputs.js.map\n    custom-outputs.modulex.mjs\n    custom-outputs.modulex.mjs.map\n    custom-outputs.umdx.js\n    custom-outputs.umdx.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"custom-outputs\\\\\" to dist:\n187 B: custom-outputs.js.gz\n138 B: custom-outputs.js.br\n113 B: custom-outputs.exportsx.mjs.gz\n92 B: custom-outputs.exportsx.mjs.br\n188 B: custom-outputs.modulex.mjs.gz\n139 B: custom-outputs.modulex.mjs.br\n273 B: custom-outputs.umdx.js.gz\n203 B: custom-outputs.umdx.js.br\"\n`;\n\nexports[`fixtures build custom-outputs with microbundle 2`] = `8`;\n\nexports[`fixtures build custom-outputs with microbundle 3`] = `\n\"async function n(...n){return n.reduce((n,t)=>n+t,0)}async function t(...t){return[await n(...t),await n(...t)]}export default t;\n//# sourceMappingURL=custom-outputs.exportsx.mjs.map\n\"\n`;\n\nexports[`fixtures build custom-outputs with microbundle 4`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=custom-outputs.js.map\n\"\n`;\n\nexports[`fixtures build custom-outputs with microbundle 5`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=custom-outputs.modulex.mjs.map\n\"\n`;\n\nexports[`fixtures build custom-outputs with microbundle 6`] = `\n\"!function(e,t){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=t():\\\\\"function\\\\\"==typeof define&&define.amd?define(t):(e||self).customOutputs=t()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,t){return e+t},0))}catch(e){return Promise.reject(e)}};return function(){try{var t=arguments,r=[].slice.call(t);return Promise.resolve(e.apply(void 0,r)).then(function(t){return Promise.resolve(e.apply(void 0,r)).then(function(e){return[t,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=custom-outputs.umdx.js.map\n\"\n`;\n\nexports[`fixtures build custom-outputs-alt with microbundle 1`] = `\n\"Used script: microbundle -f modern,es,umd,cjs\n\nDirectory tree:\n\ncustom-outputs-alt\n  dist\n    custom-outputs-alt.cjsmain.js\n    custom-outputs-alt.cjsmain.js.map\n    custom-outputs-alt.esmodule.mjs\n    custom-outputs-alt.esmodule.mjs.map\n    custom-outputs-alt.jsnextmain.mjs\n    custom-outputs-alt.jsnextmain.mjs.map\n    custom-outputs-alt.unpkg.js\n    custom-outputs-alt.unpkg.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"custom-outputs-alt\\\\\" to dist:\n187 B: custom-outputs-alt.cjsmain.js.gz\n138 B: custom-outputs-alt.cjsmain.js.br\n113 B: custom-outputs-alt.esmodule.mjs.gz\n92 B: custom-outputs-alt.esmodule.mjs.br\n188 B: custom-outputs-alt.jsnextmain.mjs.gz\n139 B: custom-outputs-alt.jsnextmain.mjs.br\n277 B: custom-outputs-alt.unpkg.js.gz\n226 B: custom-outputs-alt.unpkg.js.br\"\n`;\n\nexports[`fixtures build custom-outputs-alt with microbundle 2`] = `8`;\n\nexports[`fixtures build custom-outputs-alt with microbundle 3`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=custom-outputs-alt.cjsmain.js.map\n\"\n`;\n\nexports[`fixtures build custom-outputs-alt with microbundle 4`] = `\n\"async function n(...n){return n.reduce((n,t)=>n+t,0)}async function t(...t){return[await n(...t),await n(...t)]}export default t;\n//# sourceMappingURL=custom-outputs-alt.esmodule.mjs.map\n\"\n`;\n\nexports[`fixtures build custom-outputs-alt with microbundle 5`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=custom-outputs-alt.jsnextmain.mjs.map\n\"\n`;\n\nexports[`fixtures build custom-outputs-alt with microbundle 6`] = `\n\"!function(e,t){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=t():\\\\\"function\\\\\"==typeof define&&define.amd?define(t):(e||self).customOutputsAlt=t()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,t){return e+t},0))}catch(e){return Promise.reject(e)}};return function(){try{var t=arguments,r=[].slice.call(t);return Promise.resolve(e.apply(void 0,r)).then(function(t){return Promise.resolve(e.apply(void 0,r)).then(function(e){return[t,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=custom-outputs-alt.unpkg.js.map\n\"\n`;\n\nexports[`fixtures build custom-source with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\ncustom-source\n  dist\n    custom-source.esm.mjs\n    custom-source.esm.mjs.map\n    custom-source.js\n    custom-source.js.map\n    custom-source.umd.js\n    custom-source.umd.js.map\n  package.json\n  src\n    custom-source.js\n    two.js\n\n\nBuild \\\\\"custom-source\\\\\" to dist:\n187 B: custom-source.js.gz\n138 B: custom-source.js.br\n188 B: custom-source.esm.mjs.gz\n139 B: custom-source.esm.mjs.br\n275 B: custom-source.umd.js.gz\n203 B: custom-source.umd.js.br\"\n`;\n\nexports[`fixtures build custom-source with microbundle 2`] = `6`;\n\nexports[`fixtures build custom-source with microbundle 3`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=custom-source.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build custom-source with microbundle 4`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=custom-source.js.map\n\"\n`;\n\nexports[`fixtures build custom-source with microbundle 5`] = `\n\"!function(e,r){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=r():\\\\\"function\\\\\"==typeof define&&define.amd?define(r):(e||self).customSource=r()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,r){return e+r},0))}catch(e){return Promise.reject(e)}};return function(){try{var r=arguments,n=[].slice.call(r);return Promise.resolve(e.apply(void 0,n)).then(function(r){return Promise.resolve(e.apply(void 0,n)).then(function(e){return[r,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=custom-source.umd.js.map\n\"\n`;\n\nexports[`fixtures build custom-source-with-cwd with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\ncustom-source\n  dist\n    custom-src.esm.mjs\n    custom-src.esm.mjs.map\n    custom-src.js\n    custom-src.js.map\n    custom-src.umd.js\n    custom-src.umd.js.map\n  package.json\n  src\n    custom-source.js\n    two.js\n\n\nBuild \\\\\"custom-src\\\\\" to dist:\n187 B: custom-src.js.gz\n138 B: custom-src.js.br\n188 B: custom-src.esm.mjs.gz\n139 B: custom-src.esm.mjs.br\n273 B: custom-src.umd.js.gz\n203 B: custom-src.umd.js.br\"\n`;\n\nexports[`fixtures build custom-source-with-cwd with microbundle 2`] = `6`;\n\nexports[`fixtures build custom-source-with-cwd with microbundle 3`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=custom-src.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build custom-source-with-cwd with microbundle 4`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=custom-src.js.map\n\"\n`;\n\nexports[`fixtures build custom-source-with-cwd with microbundle 5`] = `\n\"!function(e,r){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=r():\\\\\"function\\\\\"==typeof define&&define.amd?define(r):(e||self).customSrc=r()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,r){return e+r},0))}catch(e){return Promise.reject(e)}};return function(){try{var r=arguments,n=[].slice.call(r);return Promise.resolve(e.apply(void 0,n)).then(function(r){return Promise.resolve(e.apply(void 0,n)).then(function(e){return[r,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=custom-src.umd.js.map\n\"\n`;\n\nexports[`fixtures build default-named with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\ndefault-named\n  dist\n    default-named.esm.mjs\n    default-named.esm.mjs.map\n    default-named.js\n    default-named.js.map\n    default-named.umd.js\n    default-named.umd.js.map\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"default-named\\\\\" to dist:\n60 B: default-named.js.gz\n46 B: default-named.js.br\n74 B: default-named.esm.mjs.gz\n62 B: default-named.esm.mjs.br\n169 B: default-named.umd.js.gz\n122 B: default-named.umd.js.br\"\n`;\n\nexports[`fixtures build default-named with microbundle 2`] = `6`;\n\nexports[`fixtures build default-named with microbundle 3`] = `\n\"var t=42;function e(){}export default e;export{t as foo};\n//# sourceMappingURL=default-named.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build default-named with microbundle 4`] = `\n\"exports.default=function(){},exports.foo=42;\n//# sourceMappingURL=default-named.js.map\n\"\n`;\n\nexports[`fixtures build default-named with microbundle 5`] = `\n\"!function(e,f){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?f(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],f):f((e||self).defaultNamed={})}(this,function(e){e.default=function(){},e.foo=42});\n//# sourceMappingURL=default-named.umd.js.map\n\"\n`;\n\nexports[`fixtures build define with microbundle 1`] = `\n\"Used script: microbundle --no-sourcemap --define DEBUG=false\n\nDirectory tree:\n\ndefine\n  dist\n    define.esm.mjs\n    define.js\n    define.umd.js\n  index.js\n  package.json\n\n\nBuild \\\\\"define\\\\\" to dist:\n55 B: define.js.gz\n37 B: define.js.br\n55 B: define.esm.mjs.gz\n37 B: define.esm.mjs.br\n108 B: define.umd.js.gz\n78 B: define.umd.js.br\"\n`;\n\nexports[`fixtures build define with microbundle 2`] = `3`;\n\nexports[`fixtures build define with microbundle 3`] = `\n\"console.log(\\\\\"production mode\\\\\",!1);\n\"\n`;\n\nexports[`fixtures build define with microbundle 4`] = `\n\"console.log(\\\\\"production mode\\\\\",!1);\n\"\n`;\n\nexports[`fixtures build define with microbundle 5`] = `\n\"!function(n){\\\\\"function\\\\\"==typeof define&&define.amd?define(n):n()}(function(){console.log(\\\\\"production mode\\\\\",!1)});\n\"\n`;\n\nexports[`fixtures build define-expression with microbundle 1`] = `\n\"Used script: microbundle -f esm --no-sourcemap --define @Object.freeze=Object\n\nDirectory tree:\n\ndefine-expression\n  dist\n    define-expression.esm.mjs\n  index.js\n  package.json\n\n\nBuild \\\\\"define-expression\\\\\" to dist:\n56 B: define-expression.esm.mjs.gz\n40 B: define-expression.esm.mjs.br\"\n`;\n\nexports[`fixtures build define-expression with microbundle 2`] = `1`;\n\nexports[`fixtures build define-expression with microbundle 3`] = `\n\"console.log(Object({a:\\\\\"b\\\\\",c:\\\\\"d\\\\\"}));\n\"\n`;\n\nexports[`fixtures build esnext-ts with microbundle 1`] = `\n\"Used script: microbundle --raw\n\nDirectory tree:\n\nesnext-ts\n  dist\n    esnext-ts.esm.mjs\n    esnext-ts.esm.mjs.map\n    esnext-ts.js\n    esnext-ts.js.map\n    esnext-ts.umd.js\n    esnext-ts.umd.js.map\n    index.d.ts\n  node_modules\n  package.json\n  src\n    index.ts\n  tsconfig.json\n\n\nBuild \\\\\"esnext-ts\\\\\" to dist:\n1010 B: esnext-ts.js.gz\n899 B: esnext-ts.js.br\n1011 B: esnext-ts.esm.mjs.gz\n896 B: esnext-ts.esm.mjs.br\n1072 B: esnext-ts.umd.js.gz\n959 B: esnext-ts.umd.js.br\"\n`;\n\nexports[`fixtures build esnext-ts with microbundle 2`] = `7`;\n\nexports[`fixtures build esnext-ts with microbundle 3`] = `\n\"function n(t,e,i){if(!t.s){if(i instanceof r){if(!i.s)return void(i.o=n.bind(null,t,e));1&e&&(e=i.s),i=i.v}if(i&&i.then)return void i.then(n.bind(null,t,e),n.bind(null,t,2));t.s=e,t.v=i;var o=t.o;o&&o(t)}}var t=function(){try{var t,o,u,f,h=[],c=!0,v=!1,l=i(function(){return function(i,f){try{var v=function(){t=function(n){var t;if(\\\\\"undefined\\\\\"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\\\\"Object is not async iterable\\\\\")}([1,2]);var i=function(t,i,o){for(var u;;){var f=t();if(e(f)&&(f=f.v),!f)return h;if(f.then){u=0;break}var h=o();if(h&&h.then){if(!e(h)){u=1;break}h=h.s}if(i){var c=i();if(c&&c.then&&!e(c)){u=2;break}}}var v=new r,l=n.bind(null,v,2);return(0===u?f.then(s):1===u?h.then(a):c.then(d)).then(void 0,l),v;function a(r){h=r;do{if(i&&(c=i())&&c.then&&!e(c))return void c.then(d).then(void 0,l);if(!(f=t())||e(f)&&!f.v)return void n(v,1,h);if(f.then)return void f.then(s).then(void 0,l);e(h=o())&&(h=h.v)}while(!h||!h.then);h.then(a).then(void 0,l)}function s(t){t?(h=o())&&h.then?h.then(a).then(void 0,l):a(h):n(v,1,h)}function d(){(f=t())?f.then?f.then(s).then(void 0,l):s(f):n(v,1,h)}}(function(){return Promise.resolve(t.next()).then(function(n){return c=o.done,o=n,Promise.resolve(o.value).then(function(n){return u=n,!c})})},function(){return!!(c=!0)},function(){h.push(u)});if(i&&i.then)return i.then(function(){})}()}catch(n){return f(n)}return v&&v.then?v.then(void 0,f):v}(0,function(n){v=!0,f=n})},function(n,r){function e(t){if(n)throw r;return r}var o=i(function(){var n=function(){if(!c&&null!=t.return)return Promise.resolve(t.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(v)throw f;if(n)throw t;return t});return o&&o.then?o.then(e):e()});return Promise.resolve(l&&l.then?l.then(function(n){return h}):h)}catch(n){return Promise.reject(n)}};const r=/*#__PURE__*/function(){function t(){}return t.prototype.then=function(r,e){const i=new t,o=this.s;if(o){const t=1&o?r:e;if(t){try{n(i,1,t(this.v))}catch(t){n(i,2,t)}return i}return this}return this.o=function(t){try{const o=t.v;1&t.s?n(i,1,r?r(o):o):e?n(i,1,e(o)):n(i,2,o)}catch(t){n(i,2,t)}},i},t}();function e(n){return n instanceof r&&1&n.s}function i(n,t){try{var r=n()}catch(n){return t(!0,n)}return r&&r.then?r.then(t.bind(null,!1),t.bind(null,!0)):t(!1,r)}t().then(console.log);export default t;\n//# sourceMappingURL=esnext-ts.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build esnext-ts with microbundle 4`] = `\n\"function n(t,e,i){if(!t.s){if(i instanceof r){if(!i.s)return void(i.o=n.bind(null,t,e));1&e&&(e=i.s),i=i.v}if(i&&i.then)return void i.then(n.bind(null,t,e),n.bind(null,t,2));t.s=e,t.v=i;var o=t.o;o&&o(t)}}var t=function(){try{var t,o,u,f,h=[],c=!0,v=!1,l=i(function(){return function(i,f){try{var v=function(){t=function(n){var t;if(\\\\\"undefined\\\\\"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\\\\"Object is not async iterable\\\\\")}([1,2]);var i=function(t,i,o){for(var u;;){var f=t();if(e(f)&&(f=f.v),!f)return h;if(f.then){u=0;break}var h=o();if(h&&h.then){if(!e(h)){u=1;break}h=h.s}if(i){var c=i();if(c&&c.then&&!e(c)){u=2;break}}}var v=new r,l=n.bind(null,v,2);return(0===u?f.then(s):1===u?h.then(a):c.then(d)).then(void 0,l),v;function a(r){h=r;do{if(i&&(c=i())&&c.then&&!e(c))return void c.then(d).then(void 0,l);if(!(f=t())||e(f)&&!f.v)return void n(v,1,h);if(f.then)return void f.then(s).then(void 0,l);e(h=o())&&(h=h.v)}while(!h||!h.then);h.then(a).then(void 0,l)}function s(t){t?(h=o())&&h.then?h.then(a).then(void 0,l):a(h):n(v,1,h)}function d(){(f=t())?f.then?f.then(s).then(void 0,l):s(f):n(v,1,h)}}(function(){return Promise.resolve(t.next()).then(function(n){return c=o.done,o=n,Promise.resolve(o.value).then(function(n){return u=n,!c})})},function(){return!!(c=!0)},function(){h.push(u)});if(i&&i.then)return i.then(function(){})}()}catch(n){return f(n)}return v&&v.then?v.then(void 0,f):v}(0,function(n){v=!0,f=n})},function(n,r){function e(t){if(n)throw r;return r}var o=i(function(){var n=function(){if(!c&&null!=t.return)return Promise.resolve(t.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(v)throw f;if(n)throw t;return t});return o&&o.then?o.then(e):e()});return Promise.resolve(l&&l.then?l.then(function(n){return h}):h)}catch(n){return Promise.reject(n)}};const r=/*#__PURE__*/function(){function t(){}return t.prototype.then=function(r,e){const i=new t,o=this.s;if(o){const t=1&o?r:e;if(t){try{n(i,1,t(this.v))}catch(t){n(i,2,t)}return i}return this}return this.o=function(t){try{const o=t.v;1&t.s?n(i,1,r?r(o):o):e?n(i,1,e(o)):n(i,2,o)}catch(t){n(i,2,t)}},i},t}();function e(n){return n instanceof r&&1&n.s}function i(n,t){try{var r=n()}catch(n){return t(!0,n)}return r&&r.then?r.then(t.bind(null,!1),t.bind(null,!0)):t(!1,r)}t().then(console.log),module.exports=t;\n//# sourceMappingURL=esnext-ts.js.map\n\"\n`;\n\nexports[`fixtures build esnext-ts with microbundle 5`] = `\n\"!function(n,t){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=t():\\\\\"function\\\\\"==typeof define&&define.amd?define(t):(n||self).esnextTs=t()}(this,function(){function n(t,r,i){if(!t.s){if(i instanceof e){if(!i.s)return void(i.o=n.bind(null,t,r));1&r&&(r=i.s),i=i.v}if(i&&i.then)return void i.then(n.bind(null,t,r),n.bind(null,t,2));t.s=r,t.v=i;var o=t.o;o&&o(t)}}var t=function(){try{var t,o,u,f,c=[],h=!0,l=!1,s=i(function(){return function(i,f){try{var l=function(){t=function(n){var t;if(\\\\\"undefined\\\\\"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\\\\"Object is not async iterable\\\\\")}([1,2]);var i=function(t,i,o){for(var u;;){var f=t();if(r(f)&&(f=f.v),!f)return c;if(f.then){u=0;break}var c=o();if(c&&c.then){if(!r(c)){u=1;break}c=c.s}if(i){var h=i();if(h&&h.then&&!r(h)){u=2;break}}}var l=new e,s=n.bind(null,l,2);return(0===u?f.then(v):1===u?c.then(a):h.then(d)).then(void 0,s),l;function a(e){c=e;do{if(i&&(h=i())&&h.then&&!r(h))return void h.then(d).then(void 0,s);if(!(f=t())||r(f)&&!f.v)return void n(l,1,c);if(f.then)return void f.then(v).then(void 0,s);r(c=o())&&(c=c.v)}while(!c||!c.then);c.then(a).then(void 0,s)}function v(t){t?(c=o())&&c.then?c.then(a).then(void 0,s):a(c):n(l,1,c)}function d(){(f=t())?f.then?f.then(v).then(void 0,s):v(f):n(l,1,c)}}(function(){return Promise.resolve(t.next()).then(function(n){return h=o.done,o=n,Promise.resolve(o.value).then(function(n){return u=n,!h})})},function(){return!!(h=!0)},function(){c.push(u)});if(i&&i.then)return i.then(function(){})}()}catch(n){return f(n)}return l&&l.then?l.then(void 0,f):l}(0,function(n){l=!0,f=n})},function(n,e){function r(t){if(n)throw e;return e}var o=i(function(){var n=function(){if(!h&&null!=t.return)return Promise.resolve(t.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(l)throw f;if(n)throw t;return t});return o&&o.then?o.then(r):r()});return Promise.resolve(s&&s.then?s.then(function(n){return c}):c)}catch(n){return Promise.reject(n)}};const e=/*#__PURE__*/function(){function t(){}return t.prototype.then=function(e,r){const i=new t,o=this.s;if(o){const t=1&o?e:r;if(t){try{n(i,1,t(this.v))}catch(t){n(i,2,t)}return i}return this}return this.o=function(t){try{const o=t.v;1&t.s?n(i,1,e?e(o):o):r?n(i,1,r(o)):n(i,2,o)}catch(t){n(i,2,t)}},i},t}();function r(n){return n instanceof e&&1&n.s}function i(n,t){try{var e=n()}catch(n){return t(!0,n)}return e&&e.then?e.then(t.bind(null,!1),t.bind(null,!0)):t(!1,e)}return t().then(console.log),t});\n//# sourceMappingURL=esnext-ts.umd.js.map\n\"\n`;\n\nexports[`fixtures build esnext-ts with microbundle 6`] = `\n\"export default function foo(): Promise<any[]>;\n\"\n`;\n\nexports[`fixtures build inline-source-map with microbundle 1`] = `\n\"Used script: microbundle --sourcemap inline\n\nDirectory tree:\n\ninline-source-map\n  dist\n    inline-source-map.esm.mjs\n    inline-source-map.js\n    inline-source-map.umd.js\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"inline-source-map\\\\\" to dist:\n187 B: inline-source-map.js.gz\n138 B: inline-source-map.js.br\n188 B: inline-source-map.esm.mjs.gz\n139 B: inline-source-map.esm.mjs.br\n278 B: inline-source-map.umd.js.gz\n217 B: inline-source-map.umd.js.br\"\n`;\n\nexports[`fixtures build inline-source-map with microbundle 2`] = `3`;\n\nexports[`fixtures build inline-source-map with microbundle 3`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAuZXNtLm1qcyIsInNvdXJjZXMiOlsiLi4vc3JjL3R3by5qcyIsIi4uL3NyYy9pbmRleC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgYXN5bmMgZnVuY3Rpb24gdHdvKC4uLmFyZ3MpIHtcblx0cmV0dXJuIGFyZ3MucmVkdWNlKCh0b3RhbCwgdmFsdWUpID0+IHRvdGFsICsgdmFsdWUsIDApO1xufVxuIiwiaW1wb3J0IHsgdHdvIH0gZnJvbSAnLi90d28nO1xuXG5leHBvcnQgZGVmYXVsdCBhc3luYyBmdW5jdGlvbiAoLi4uYXJncykge1xuXHRyZXR1cm4gW2F3YWl0IHR3byguLi5hcmdzKSwgYXdhaXQgdHdvKC4uLmFyZ3MpXTtcbn1cbiJdLCJuYW1lcyI6WyJ0d28iLCJyZWR1Y2UiLCJ0b3RhbCIsInZhbHVlIiwiYXJncyJdLCJtYXBwaW5ncyI6IklBQXNCQSxpQ0FDckIsdUJBQU8saUJBQUtDLE9BQU8sU0FBQ0MsRUFBT0MsVUFBVUQsRUFBUUMsR0FBTyxJQURyRCxrRkNFa0NDLDBDQUNuQkosZUFBT0ksNENBQWFKLGVBQU9JLHFCQUF6QyxNQUFPLFVBRFIifQ==\n\"\n`;\n\nexports[`fixtures build inline-source-map with microbundle 4`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAuanMiLCJzb3VyY2VzIjpbIi4uL3NyYy90d28uanMiLCIuLi9zcmMvaW5kZXguanMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIHR3byguLi5hcmdzKSB7XG5cdHJldHVybiBhcmdzLnJlZHVjZSgodG90YWwsIHZhbHVlKSA9PiB0b3RhbCArIHZhbHVlLCAwKTtcbn1cbiIsImltcG9ydCB7IHR3byB9IGZyb20gJy4vdHdvJztcblxuZXhwb3J0IGRlZmF1bHQgYXN5bmMgZnVuY3Rpb24gKC4uLmFyZ3MpIHtcblx0cmV0dXJuIFthd2FpdCB0d28oLi4uYXJncyksIGF3YWl0IHR3byguLi5hcmdzKV07XG59XG4iXSwibmFtZXMiOlsidHdvIiwicmVkdWNlIiwidG90YWwiLCJ2YWx1ZSIsImFyZ3MiXSwibWFwcGluZ3MiOiJJQUFzQkEsaUNBQ3JCLHVCQUFPLGlCQUFLQyxPQUFPLFNBQUNDLEVBQU9DLFVBQVVELEVBQVFDLEdBQU8sSUFEckQsa0ZDRWtDQywwQ0FDbkJKLGVBQU9JLDRDQUFhSixlQUFPSSxxQkFBekMsTUFBTyxVQURSIn0=\n\"\n`;\n\nexports[`fixtures build inline-source-map with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).inlineSourceMap=n()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,n){return e+n},0))}catch(e){return Promise.reject(e)}};return function(){try{var n=arguments,r=[].slice.call(n);return Promise.resolve(e.apply(void 0,r)).then(function(n){return Promise.resolve(e.apply(void 0,r)).then(function(e){return[n,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAudW1kLmpzIiwic291cmNlcyI6WyIuLi9zcmMvdHdvLmpzIiwiLi4vc3JjL2luZGV4LmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBhc3luYyBmdW5jdGlvbiB0d28oLi4uYXJncykge1xuXHRyZXR1cm4gYXJncy5yZWR1Y2UoKHRvdGFsLCB2YWx1ZSkgPT4gdG90YWwgKyB2YWx1ZSwgMCk7XG59XG4iLCJpbXBvcnQgeyB0d28gfSBmcm9tICcuL3R3byc7XG5cbmV4cG9ydCBkZWZhdWx0IGFzeW5jIGZ1bmN0aW9uICguLi5hcmdzKSB7XG5cdHJldHVybiBbYXdhaXQgdHdvKC4uLmFyZ3MpLCBhd2FpdCB0d28oLi4uYXJncyldO1xufVxuIl0sIm5hbWVzIjpbInR3byIsInJlZHVjZSIsInRvdGFsIiwidmFsdWUiLCJhcmdzIl0sIm1hcHBpbmdzIjoiMExBQXNCQSxpQ0FDckIsdUJBQU8saUJBQUtDLE9BQU8sU0FBQ0MsRUFBT0MsVUFBVUQsRUFBUUMsR0FBTyxJQURyRCwwRUNFa0NDLDBDQUNuQkosZUFBT0ksNENBQWFKLGVBQU9JLHFCQUF6QyxNQUFPLFVBRFIifQ==\n\"\n`;\n\nexports[`fixtures build jsx with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\njsx\n  dist\n    jsx.esm.mjs\n    jsx.esm.mjs.map\n    jsx.js\n    jsx.js.map\n    jsx.umd.js\n    jsx.umd.js.map\n  index.js\n  package.json\n\n\nBuild \\\\\"jsx\\\\\" to dist:\n239 B: jsx.js.gz\n195 B: jsx.js.br\n237 B: jsx.esm.mjs.gz\n201 B: jsx.esm.mjs.br\n313 B: jsx.umd.js.gz\n248 B: jsx.umd.js.br\"\n`;\n\nexports[`fixtures build jsx with microbundle 2`] = `6`;\n\nexports[`fixtures build jsx with microbundle 3`] = `\n\"var n=function(n,r){return{tag:n,props:r,children:[].slice.call(arguments,2)}},r=function(n){return n.children},l=/*#__PURE__*/function(){function l(){}return l.prototype.render=function(){return n(\\\\\"div\\\\\",{id:\\\\\"app\\\\\"},n(\\\\\"h1\\\\\",null,\\\\\"Hello, World!\\\\\"),n(\\\\\"p\\\\\",null,\\\\\"A JSX demo.\\\\\"),n(r,null,n(\\\\\"p\\\\\",null,\\\\\"Test fragment\\\\\")))},l}();export default l;\n//# sourceMappingURL=jsx.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build jsx with microbundle 4`] = `\n\"var n=function(n,r){return{tag:n,props:r,children:[].slice.call(arguments,2)}},r=function(n){return n.children};module.exports=/*#__PURE__*/function(){function l(){}return l.prototype.render=function(){return n(\\\\\"div\\\\\",{id:\\\\\"app\\\\\"},n(\\\\\"h1\\\\\",null,\\\\\"Hello, World!\\\\\"),n(\\\\\"p\\\\\",null,\\\\\"A JSX demo.\\\\\"),n(r,null,n(\\\\\"p\\\\\",null,\\\\\"Test fragment\\\\\")))},l}();\n//# sourceMappingURL=jsx.js.map\n\"\n`;\n\nexports[`fixtures build jsx with microbundle 5`] = `\n\"!function(n,e){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=e():\\\\\"function\\\\\"==typeof define&&define.amd?define(e):(n||self).jsx=e()}(this,function(){var n=function(n,e){return{tag:n,props:e,children:[].slice.call(arguments,2)}},e=function(n){return n.children};/*#__PURE__*/\nreturn function(){function t(){}return t.prototype.render=function(){return n(\\\\\"div\\\\\",{id:\\\\\"app\\\\\"},n(\\\\\"h1\\\\\",null,\\\\\"Hello, World!\\\\\"),n(\\\\\"p\\\\\",null,\\\\\"A JSX demo.\\\\\"),n(e,null,n(\\\\\"p\\\\\",null,\\\\\"Test fragment\\\\\")))},t}()});\n//# sourceMappingURL=jsx.umd.js.map\n\"\n`;\n\nexports[`fixtures build macro with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nmacro\n  dist\n    macro-lib.esm.mjs\n    macro-lib.esm.mjs.map\n    macro-lib.js\n    macro-lib.js.map\n    macro-lib.umd.js\n    macro-lib.umd.js.map\n  package.json\n  src\n    index.js\n    macro.js\n\n\nBuild \\\\\"macro-lib\\\\\" to dist:\n49 B: macro-lib.js.gz\n33 B: macro-lib.js.br\n48 B: macro-lib.esm.mjs.gz\n32 B: macro-lib.esm.mjs.br\n156 B: macro-lib.umd.js.gz\n126 B: macro-lib.umd.js.br\"\n`;\n\nexports[`fixtures build macro with microbundle 2`] = `6`;\n\nexports[`fixtures build macro with microbundle 3`] = `\n\"export default\\\\\"name-macro\\\\\";\n//# sourceMappingURL=macro-lib.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build macro with microbundle 4`] = `\n\"module.exports=\\\\\"name-macro\\\\\";\n//# sourceMappingURL=macro-lib.js.map\n\"\n`;\n\nexports[`fixtures build macro with microbundle 5`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=\\\\\"name-macro\\\\\":\\\\\"function\\\\\"==typeof define&&define.amd?define(function(){return\\\\\"name-macro\\\\\"}):(e||self).macroLib=\\\\\"name-macro\\\\\"}(this);\n//# sourceMappingURL=macro-lib.umd.js.map\n\"\n`;\n\nexports[`fixtures build mangle-json-file with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nmangle-json-file\n  dist\n    mangle-json-file.esm.mjs\n    mangle-json-file.esm.mjs.map\n    mangle-json-file.js\n    mangle-json-file.js.map\n    mangle-json-file.umd.js\n    mangle-json-file.umd.js.map\n  mangle.json\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"mangle-json-file\\\\\" to dist:\n103 B: mangle-json-file.js.gz\n89 B: mangle-json-file.js.br\n105 B: mangle-json-file.esm.mjs.gz\n91 B: mangle-json-file.esm.mjs.br\n196 B: mangle-json-file.umd.js.gz\n171 B: mangle-json-file.umd.js.br\"\n`;\n\nexports[`fixtures build mangle-json-file with microbundle 2`] = `6`;\n\nexports[`fixtures build mangle-json-file with microbundle 3`] = `\n\"var o={prop1:1,__p2:2};function r(){return console.log(o.prop1),console.log(o.__p2),o}export default r;\n//# sourceMappingURL=mangle-json-file.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build mangle-json-file with microbundle 4`] = `\n\"var o={prop1:1,__p2:2};module.exports=function(){return console.log(o.prop1),console.log(o.__p2),o};\n//# sourceMappingURL=mangle-json-file.js.map\n\"\n`;\n\nexports[`fixtures build mangle-json-file with microbundle 5`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=o():\\\\\"function\\\\\"==typeof define&&define.amd?define(o):(e||self).mangleJsonFile=o()}(this,function(){var e={prop1:1,__p2:2};return function(){return console.log(e.prop1),console.log(e.__p2),e}});\n//# sourceMappingURL=mangle-json-file.umd.js.map\n\"\n`;\n\nexports[`fixtures build minify-config with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nminify-config\n  dist\n    minify-config.esm.mjs\n    minify-config.esm.mjs.map\n    minify-config.js\n    minify-config.js.map\n    minify-config.umd.js\n    minify-config.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"minify-config\\\\\" to dist:\n99 B: minify-config.js.gz\n85 B: minify-config.js.br\n101 B: minify-config.esm.mjs.gz\n87 B: minify-config.esm.mjs.br\n189 B: minify-config.umd.js.gz\n140 B: minify-config.umd.js.br\"\n`;\n\nexports[`fixtures build minify-config with microbundle 2`] = `6`;\n\nexports[`fixtures build minify-config with microbundle 3`] = `\n\"var o={prop1:1,o:2};function r(){return console.log(o.prop1),console.log(o.o),o}export default r;\n//# sourceMappingURL=minify-config.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build minify-config with microbundle 4`] = `\n\"var o={prop1:1,o:2};module.exports=function(){return console.log(o.prop1),console.log(o.o),o};\n//# sourceMappingURL=minify-config.js.map\n\"\n`;\n\nexports[`fixtures build minify-config with microbundle 5`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=o():\\\\\"function\\\\\"==typeof define&&define.amd?define(o):(e||self).minifyConfig=o()}(this,function(){var e={prop1:1,o:2};return function(){return console.log(e.prop1),console.log(e.o),e}});\n//# sourceMappingURL=minify-config.umd.js.map\n\"\n`;\n\nexports[`fixtures build minify-config-boolean with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nminify-config-boolean\n  dist\n    minify-config-boolean.esm.mjs\n    minify-config-boolean.esm.mjs.map\n    minify-config-boolean.js\n    minify-config-boolean.js.map\n    minify-config-boolean.umd.js\n    minify-config-boolean.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"minify-config-boolean\\\\\" to dist:\n107 B: minify-config-boolean.js.gz\n84 B: minify-config-boolean.js.br\n114 B: minify-config-boolean.esm.mjs.gz\n90 B: minify-config-boolean.esm.mjs.br\n216 B: minify-config-boolean.umd.js.gz\n159 B: minify-config-boolean.umd.js.br\"\n`;\n\nexports[`fixtures build minify-config-boolean with microbundle 2`] = `6`;\n\nexports[`fixtures build minify-config-boolean with microbundle 3`] = `\n\"var two={prop1:1,_prop2:2};function index(){return console.log(two.prop1),console.log(two._prop2),two}export default index;\n//# sourceMappingURL=minify-config-boolean.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build minify-config-boolean with microbundle 4`] = `\n\"var two={prop1:1,_prop2:2};module.exports=function(){return console.log(two.prop1),console.log(two._prop2),two};\n//# sourceMappingURL=minify-config-boolean.js.map\n\"\n`;\n\nexports[`fixtures build minify-config-boolean with microbundle 5`] = `\n\"!function(global,factory){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=factory():\\\\\"function\\\\\"==typeof define&&define.amd?define(factory):(global||self).minifyConfigBoolean=factory()}(this,function(){var two={prop1:1,_prop2:2};return function(){return console.log(two.prop1),console.log(two._prop2),two}});\n//# sourceMappingURL=minify-config-boolean.umd.js.map\n\"\n`;\n\nexports[`fixtures build minify-path-config with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nminify-path-config\n  dist\n    minify-path-config.esm.mjs\n    minify-path-config.esm.mjs.map\n    minify-path-config.js\n    minify-path-config.js.map\n    minify-path-config.umd.js\n    minify-path-config.umd.js.map\n  minify.json\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"minify-path-config\\\\\" to dist:\n103 B: minify-path-config.js.gz\n89 B: minify-path-config.js.br\n105 B: minify-path-config.esm.mjs.gz\n91 B: minify-path-config.esm.mjs.br\n198 B: minify-path-config.umd.js.gz\n152 B: minify-path-config.umd.js.br\"\n`;\n\nexports[`fixtures build minify-path-config with microbundle 2`] = `6`;\n\nexports[`fixtures build minify-path-config with microbundle 3`] = `\n\"var o={prop1:1,__p2:2};function r(){return console.log(o.prop1),console.log(o.__p2),o}export default r;\n//# sourceMappingURL=minify-path-config.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build minify-path-config with microbundle 4`] = `\n\"var o={prop1:1,__p2:2};module.exports=function(){return console.log(o.prop1),console.log(o.__p2),o};\n//# sourceMappingURL=minify-path-config.js.map\n\"\n`;\n\nexports[`fixtures build minify-path-config with microbundle 5`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=o():\\\\\"function\\\\\"==typeof define&&define.amd?define(o):(e||self).minifyPathConfig=o()}(this,function(){var e={prop1:1,__p2:2};return function(){return console.log(e.prop1),console.log(e.__p2),e}});\n//# sourceMappingURL=minify-path-config.umd.js.map\n\"\n`;\n\nexports[`fixtures build minify-path-parent-dir-with-cwd with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nminify-path-parent-dir\n  dist\n    minify-path-parent-dir.esm.mjs\n    minify-path-parent-dir.esm.mjs.map\n    minify-path-parent-dir.js\n    minify-path-parent-dir.js.map\n    minify-path-parent-dir.umd.js\n    minify-path-parent-dir.umd.js.map\n  index.js\n  package.json\n  two.js\n\n\nBuild \\\\\"minify-path-parent-dir\\\\\" to dist:\n103 B: minify-path-parent-dir.js.gz\n89 B: minify-path-parent-dir.js.br\n105 B: minify-path-parent-dir.esm.mjs.gz\n91 B: minify-path-parent-dir.esm.mjs.br\n200 B: minify-path-parent-dir.umd.js.gz\n161 B: minify-path-parent-dir.umd.js.br\"\n`;\n\nexports[`fixtures build minify-path-parent-dir-with-cwd with microbundle 2`] = `6`;\n\nexports[`fixtures build minify-path-parent-dir-with-cwd with microbundle 3`] = `\n\"var o={prop1:1,__p2:2};function r(){return console.log(o.prop1),console.log(o.__p2),o}export default r;\n//# sourceMappingURL=minify-path-parent-dir.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build minify-path-parent-dir-with-cwd with microbundle 4`] = `\n\"var o={prop1:1,__p2:2};module.exports=function(){return console.log(o.prop1),console.log(o.__p2),o};\n//# sourceMappingURL=minify-path-parent-dir.js.map\n\"\n`;\n\nexports[`fixtures build minify-path-parent-dir-with-cwd with microbundle 5`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=o():\\\\\"function\\\\\"==typeof define&&define.amd?define(o):(e||self).minifyPathParentDir=o()}(this,function(){var e={prop1:1,__p2:2};return function(){return console.log(e.prop1),console.log(e.__p2),e}});\n//# sourceMappingURL=minify-path-parent-dir.umd.js.map\n\"\n`;\n\nexports[`fixtures build modern with microbundle 1`] = `\n\"Used script: microbundle -f modern\n\nDirectory tree:\n\nmodern\n  dist\n    modern-lib.modern.mjs\n    modern-lib.modern.mjs.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"modern-lib\\\\\" to dist:\n113 B: modern-lib.modern.mjs.gz\n92 B: modern-lib.modern.mjs.br\"\n`;\n\nexports[`fixtures build modern with microbundle 2`] = `2`;\n\nexports[`fixtures build modern with microbundle 3`] = `\n\"async function n(...n){return n.reduce((n,t)=>n+t,0)}async function t(...t){return[await n(...t),await n(...t)]}export default t;\n//# sourceMappingURL=modern-lib.modern.mjs.map\n\"\n`;\n\nexports[`fixtures build modern-generators with microbundle 1`] = `\n\"Used script: microbundle -f modern,es,umd,cjs\n\nDirectory tree:\n\nmodern-generators\n  dist\n    modern-generators.esm.mjs\n    modern-generators.esm.mjs.map\n    modern-generators.js\n    modern-generators.js.map\n    modern-generators.modern.mjs\n    modern-generators.modern.mjs.map\n    modern-generators.umd.js\n    modern-generators.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"modern-generators\\\\\" to dist:\n248 B: modern-generators.js.gz\n201 B: modern-generators.js.br\n118 B: modern-generators.modern.mjs.gz\n99 B: modern-generators.modern.mjs.br\n247 B: modern-generators.esm.mjs.gz\n218 B: modern-generators.esm.mjs.br\n326 B: modern-generators.umd.js.gz\n267 B: modern-generators.umd.js.br\"\n`;\n\nexports[`fixtures build modern-generators with microbundle 2`] = `8`;\n\nexports[`fixtures build modern-generators with microbundle 3`] = `\n\"var e=/*#__PURE__*/regeneratorRuntime.mark(r);function r(){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=0;case 1:return e.next=4,r++;case 4:e.next=1;break;case 6:case\\\\\"end\\\\\":return e.stop()}},e)}export default function(){try{var e=r();return Promise.resolve([e.next().value,e.next().value])}catch(e){return Promise.reject(e)}}\n//# sourceMappingURL=modern-generators.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build modern-generators with microbundle 4`] = `\n\"var e=/*#__PURE__*/regeneratorRuntime.mark(r);function r(){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=0;case 1:return e.next=4,r++;case 4:e.next=1;break;case 6:case\\\\\"end\\\\\":return e.stop()}},e)}module.exports=function(){try{var e=r();return Promise.resolve([e.next().value,e.next().value])}catch(e){return Promise.reject(e)}};\n//# sourceMappingURL=modern-generators.js.map\n\"\n`;\n\nexports[`fixtures build modern-generators with microbundle 5`] = `\n\"async function e(){const e=function*(){let e=0;for(;;)yield e++}();return[e.next().value,e.next().value]}export default e;\n//# sourceMappingURL=modern-generators.modern.mjs.map\n\"\n`;\n\nexports[`fixtures build modern-generators with microbundle 6`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).modernGenerators=n()}(this,function(){var e=/*#__PURE__*/regeneratorRuntime.mark(n);function n(){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=0;case 1:return e.next=4,n++;case 4:e.next=1;break;case 6:case\\\\\"end\\\\\":return e.stop()}},e)}return function(){try{var e=n();return Promise.resolve([e.next().value,e.next().value])}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=modern-generators.umd.js.map\n\"\n`;\n\nexports[`fixtures build name-custom-amd with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nname-custom-amd\n  dist\n    name-custom-amd.esm.mjs\n    name-custom-amd.esm.mjs.map\n    name-custom-amd.js\n    name-custom-amd.js.map\n    name-custom-amd.umd.js\n    name-custom-amd.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"name-custom-amd\\\\\" to dist:\n187 B: name-custom-amd.js.gz\n138 B: name-custom-amd.js.br\n188 B: name-custom-amd.esm.mjs.gz\n139 B: name-custom-amd.esm.mjs.br\n277 B: name-custom-amd.umd.js.gz\n208 B: name-custom-amd.umd.js.br\"\n`;\n\nexports[`fixtures build name-custom-amd with microbundle 2`] = `6`;\n\nexports[`fixtures build name-custom-amd with microbundle 3`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=name-custom-amd.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build name-custom-amd with microbundle 4`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=name-custom-amd.js.map\n\"\n`;\n\nexports[`fixtures build name-custom-amd with microbundle 5`] = `\n\"!function(e,r){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=r():\\\\\"function\\\\\"==typeof define&&define.amd?define(r):(e||self).customNameAmd=r()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,r){return e+r},0))}catch(e){return Promise.reject(e)}};return function(){try{var r=arguments,n=[].slice.call(r);return Promise.resolve(e.apply(void 0,n)).then(function(r){return Promise.resolve(e.apply(void 0,n)).then(function(e){return[r,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=name-custom-amd.umd.js.map\n\"\n`;\n\nexports[`fixtures build name-custom-cli with microbundle 1`] = `\n\"Used script: microbundle --name nameCustomCli\n\nDirectory tree:\n\nname-custom-cli\n  dist\n    name-custom.esm.mjs\n    name-custom.esm.mjs.map\n    name-custom.js\n    name-custom.js.map\n    name-custom.umd.js\n    name-custom.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"name-custom\\\\\" to dist:\n187 B: name-custom.js.gz\n138 B: name-custom.js.br\n188 B: name-custom.esm.mjs.gz\n139 B: name-custom.esm.mjs.br\n276 B: name-custom.umd.js.gz\n215 B: name-custom.umd.js.br\"\n`;\n\nexports[`fixtures build name-custom-cli with microbundle 2`] = `6`;\n\nexports[`fixtures build name-custom-cli with microbundle 3`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=name-custom.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build name-custom-cli with microbundle 4`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=name-custom.js.map\n\"\n`;\n\nexports[`fixtures build name-custom-cli with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).nameCustomCli=n()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,n){return e+n},0))}catch(e){return Promise.reject(e)}};return function(){try{var n=arguments,r=[].slice.call(n);return Promise.resolve(e.apply(void 0,r)).then(function(n){return Promise.resolve(e.apply(void 0,r)).then(function(e){return[n,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=name-custom.umd.js.map\n\"\n`;\n\nexports[`fixtures build no-pkg with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nno-pkg\n  dist\n    no-pkg.esm.mjs\n    no-pkg.esm.mjs.map\n    no-pkg.js\n    no-pkg.js.map\n    no-pkg.umd.js\n    no-pkg.umd.js.map\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"no-pkg\\\\\" to dist:\n187 B: no-pkg.js.gz\n138 B: no-pkg.js.br\n188 B: no-pkg.esm.mjs.gz\n139 B: no-pkg.esm.mjs.br\n270 B: no-pkg.umd.js.gz\n216 B: no-pkg.umd.js.br\"\n`;\n\nexports[`fixtures build no-pkg with microbundle 2`] = `6`;\n\nexports[`fixtures build no-pkg with microbundle 3`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=no-pkg.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build no-pkg with microbundle 4`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=no-pkg.js.map\n\"\n`;\n\nexports[`fixtures build no-pkg with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).noPkg=n()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,n){return e+n},0))}catch(e){return Promise.reject(e)}};return function(){try{var n=arguments,r=[].slice.call(n);return Promise.resolve(e.apply(void 0,r)).then(function(n){return Promise.resolve(e.apply(void 0,r)).then(function(e){return[n,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=no-pkg.umd.js.map\n\"\n`;\n\nexports[`fixtures build no-pkg-name with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nno-pkg-name\n  dist\n    no-pkg-name.esm.mjs\n    no-pkg-name.esm.mjs.map\n    no-pkg-name.js\n    no-pkg-name.js.map\n    no-pkg-name.umd.js\n    no-pkg-name.umd.js.map\n  package.json\n  src\n    index.js\n    two.js\n\n\nBuild \\\\\"no-pkg-name\\\\\" to dist:\n187 B: no-pkg-name.js.gz\n138 B: no-pkg-name.js.br\n188 B: no-pkg-name.esm.mjs.gz\n139 B: no-pkg-name.esm.mjs.br\n274 B: no-pkg-name.umd.js.gz\n219 B: no-pkg-name.umd.js.br\"\n`;\n\nexports[`fixtures build no-pkg-name with microbundle 2`] = `6`;\n\nexports[`fixtures build no-pkg-name with microbundle 3`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};export default function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}}\n//# sourceMappingURL=no-pkg-name.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build no-pkg-name with microbundle 4`] = `\n\"var r=function(){try{var r=arguments;return Promise.resolve([].slice.call(r).reduce(function(r,e){return r+e},0))}catch(r){return Promise.reject(r)}};module.exports=function(){try{var e=arguments,t=[].slice.call(e);return Promise.resolve(r.apply(void 0,t)).then(function(e){return Promise.resolve(r.apply(void 0,t)).then(function(r){return[e,r]})})}catch(r){return Promise.reject(r)}};\n//# sourceMappingURL=no-pkg-name.js.map\n\"\n`;\n\nexports[`fixtures build no-pkg-name with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).noPkgName=n()}(this,function(){var e=function(){try{var e=arguments;return Promise.resolve([].slice.call(e).reduce(function(e,n){return e+n},0))}catch(e){return Promise.reject(e)}};return function(){try{var n=arguments,r=[].slice.call(n);return Promise.resolve(e.apply(void 0,r)).then(function(n){return Promise.resolve(e.apply(void 0,r)).then(function(e){return[n,e]})})}catch(e){return Promise.reject(e)}}});\n//# sourceMappingURL=no-pkg-name.umd.js.map\n\"\n`;\n\nexports[`fixtures build optional-chaining-ts with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\noptional-chaining-ts\n  dist\n    index.d.ts\n    optional-chaining-ts.esm.mjs\n    optional-chaining-ts.esm.mjs.map\n    optional-chaining-ts.js\n    optional-chaining-ts.js.map\n    optional-chaining-ts.umd.js\n    optional-chaining-ts.umd.js.map\n  node_modules\n  package.json\n  src\n    index.ts\n  tsconfig.json\n\n\nBuild \\\\\"optional-chaining-ts\\\\\" to dist:\n109 B: optional-chaining-ts.js.gz\n88 B: optional-chaining-ts.js.br\n111 B: optional-chaining-ts.esm.mjs.gz\n97 B: optional-chaining-ts.esm.mjs.br\n210 B: optional-chaining-ts.umd.js.gz\n169 B: optional-chaining-ts.umd.js.br\"\n`;\n\nexports[`fixtures build optional-chaining-ts with microbundle 2`] = `7`;\n\nexports[`fixtures build optional-chaining-ts with microbundle 3`] = `\n\"export declare function chain(test: {\n    maybeVar?: {\n        thing: string;\n    };\n}): string | undefined;\n\"\n`;\n\nexports[`fixtures build optional-chaining-ts with microbundle 4`] = `\n\"function n(n){var r,i;return null!=(r=null==(i=n.maybeVar)?void 0:i.thing)?r:void 0}export{n as chain};\n//# sourceMappingURL=optional-chaining-ts.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build optional-chaining-ts with microbundle 5`] = `\n\"exports.chain=function(n){var i,r;return null!=(i=null==(r=n.maybeVar)?void 0:r.thing)?i:void 0};\n//# sourceMappingURL=optional-chaining-ts.js.map\n\"\n`;\n\nexports[`fixtures build optional-chaining-ts with microbundle 6`] = `\n\"!function(n,e){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?e(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],e):e((n||self).optionalChainingTs={})}(this,function(n){n.chain=function(n){var e,i;return null!=(e=null==(i=n.maybeVar)?void 0:i.thing)?e:void 0}});\n//# sourceMappingURL=optional-chaining-ts.umd.js.map\n\"\n`;\n\nexports[`fixtures build parameters-rest-closure with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nparameters-rest-closure\n  dist\n    parameters-rest-closure.esm.mjs\n    parameters-rest-closure.esm.mjs.map\n    parameters-rest-closure.js\n    parameters-rest-closure.js.map\n    parameters-rest-closure.umd.js\n    parameters-rest-closure.umd.js.map\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"parameters-rest-closure\\\\\" to dist:\n157 B: parameters-rest-closure.js.gz\n115 B: parameters-rest-closure.js.br\n165 B: parameters-rest-closure.esm.mjs.gz\n124 B: parameters-rest-closure.esm.mjs.br\n247 B: parameters-rest-closure.umd.js.gz\n189 B: parameters-rest-closure.umd.js.br\"\n`;\n\nexports[`fixtures build parameters-rest-closure with microbundle 2`] = `6`;\n\nexports[`fixtures build parameters-rest-closure with microbundle 3`] = `\n\"function n(n){var c=[].slice.call(arguments,1);return function(){n.apply(void 0,c)}}function c(n){var c=arguments;return function(){n.apply(void 0,[].slice.call(c,1))}}export{n as parametersRestWithClosure,c as parametersRestWithInnerArrowFunction};\n//# sourceMappingURL=parameters-rest-closure.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build parameters-rest-closure with microbundle 4`] = `\n\"exports.parametersRestWithClosure=function(r){var t=[].slice.call(arguments,1);return function(){r.apply(void 0,t)}},exports.parametersRestWithInnerArrowFunction=function(r){var t=arguments;return function(){r.apply(void 0,[].slice.call(t,1))}};\n//# sourceMappingURL=parameters-rest-closure.js.map\n\"\n`;\n\nexports[`fixtures build parameters-rest-closure with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?n(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],n):n((e||self).parametersRestClosure={})}(this,function(e){e.parametersRestWithClosure=function(e){var n=[].slice.call(arguments,1);return function(){e.apply(void 0,n)}},e.parametersRestWithInnerArrowFunction=function(e){var n=arguments;return function(){e.apply(void 0,[].slice.call(n,1))}}});\n//# sourceMappingURL=parameters-rest-closure.umd.js.map\n\"\n`;\n\nexports[`fixtures build pretty with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\npretty\n  dist\n    pretty.esm.mjs\n    pretty.esm.mjs.map\n    pretty.js\n    pretty.js.map\n    pretty.umd.js\n    pretty.umd.js.map\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"pretty\\\\\" to dist:\n6.33 kB: pretty.js.gz\n5.19 kB: pretty.js.br\n6.34 kB: pretty.esm.mjs.gz\n5.21 kB: pretty.esm.mjs.br\n6.46 kB: pretty.umd.js.gz\n5.31 kB: pretty.umd.js.br\"\n`;\n\nexports[`fixtures build pretty with microbundle 2`] = `6`;\n\nexports[`fixtures build pretty with microbundle 3`] = `\n\"var n=\\\\\"\\\\\\\\n\\\\\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\\\\\nmistakes than you do from your masterpieces.\\\\\\\\n\\\\\\\\nTrees grow in all kinds of ways. They're not all perfectly straight. Not every limb is perfect. Now let's put some happy\\\\\\\\nlittle clouds in here. We have no limits to our world. We're only limited by our imagination. The first step to doing\\\\\\\\nanything is to believe you can do it. See it finished in your mind before you ever start. Even trees need a friend. We\\\\\\\\nall need friends. And that's when it becomes fun - you don't have to spend your time thinking about what's happening -\\\\\\\\nyou just let it happen.\\\\\\\\n\\\\\\\\nरिती संपादक बेंगलूर अन्तरराष्ट्रीयकरन शीघ्र भाषा चिदंश उद्योग विस्तरणक्षमता चिदंश एकएस तरहथा। प्रोत्साहित उपेक्ष बिन्दुओ\\\\\\\\nध्येय देने गुजरना ऎसाजीस निर्माण नवंबर लिए। एसेएवं उपलब्धता मुश्किले डाले। बहतर सहायता माध्यम भाषाओ समूह\\\\\\\\n\\\\\\\\n井待品亡写回横提和指生志考結。重特天県偏切運録広詳三人転者数代歳。秀天戦機広八型希金生作事国第。年米教止証車断級弘報安楽\\\\\\\\n銀必約現獲料切。点額講問課覧傷邸出送跡出懲。編米人験由社迷入解公著片法記択昇必崎掲清。摩出元自越食多県実間旅売主注理併間\\\\\\\\n話策。小政退時年福米越給新家入解美露方堀港朝。俊間髪物縦該高報見甲購形州日事。\\\\\\\\n\\\\\\\\n🌸🍂🌃🐧🍘🏧🍮 🌶👢🔗🐥🔼🎮 🐤🍲📆👧🎼🐒 💑🍖📴🐠🍼 🎱🔮🍦💳👹 💫🏮📅🍑📭🎎 🏭💿🏫🔢👚💩 👇🌄🌗🔵💦 🔺🔡🌍🐗🏀📫\\\\\\\\n📻🍵🐰🔜🕧 🌴🌞🕙🎨🎾🔊🏰 🎑🌆🔁🌂 🕐📣📉🌴🕠📢 🎀📖🎋🔱📒💰 🍅🐻🌃🌖. 🎁🕔👎🎷📀📞 🍁🔫🍀🌃📹 💈📂💶👕 🍡📰👛🐻\\\\\\\\n🍖🐽💫📼 🍆🎀💛👫🔹 🎷🕙🌱👸🕁🔝 🍸🔅👿🐡. 🐟🔐🏡🔅👾 🐱💱👺🍶 🎠🔆🎤🏥🌻🗾 👽🎯💈🏣🔊📴💆🏫 🔉🌉🍃🌻 🎅🔌🔻💣 🌸🍎🐀🌇\\\\\\\\n🗻👔📤💤🔶. 🍆👣🕕👦📦👑 🐍🐉🔶🕕 🍲👩🍍🌕📻👒📵 🔣🌋🌟👼 🔏📀🐆🍖🍮 🐁🌘🐻🏥🐡🔶🔘🏭 👡🔫🔗📊📻 🍂💧🌿📥🔚 📹💻🔌💠🌚\\\\\\\\n🐦💴🌎🌞🏤.\\\\\\\\n\\\\\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\\\\\nmistakes than you do from your masterpieces. That's why I paint - because I can create the kind of world I want - and I\\\\\\\\ncan make this world as happy as I want it. I was blessed with a very steady hand; and it comes in very handy when you're\\\\\\\\ndoing these little delicate things. We'll paint one happy little tree right here. These things happen automatically. All\\\\\\\\nyou have to do is just let them happen.\\\\\\\\n\\\\\\\\n🐻🍘💀🐪 🕧🎂🕃🍵🏠 💎🌄🐐📘🐄 🍂🏤👊🍖 👆🍂📫👪🐈🕢👓 👯🕞🏉🍚🎆🔠🌵 🎭🎎💵📮📭 🔪💨📢📕 🐔📬👪🏄🐙🗽📤.\\\\\\\\n💛👴💧🎁👗💟👡💎 🎷🕡👮🗾🍷 🎪🍇🍩💰 📫🐗🎄🍍🎃 🎯🌴🐍🔉📰 👼👧🐢🕔🔷📞🍩 🔘👑🌆🌒🔣 🔆👺📴👾 🔝💑💸💒🏡🔸 🔟👞📷🔱👠\\\\\\\\n📵🏠📕🕝🐂👪 💐🎾🕁🗾👊📪. 🍉🏁👰🏡🕔💒🐯 🐟🍡📴🌿👱👢 📵💄🌊🌵🐫🍏 🎎🕠🍍💭💀👖 🎵💘🔗🍖 📧🌘🍅🕚📘🔮 👤🌾👿🐍🎽🌹\\\\\\\\n🎲🎎💅📪🐐🍢📈 🏣🐑👇👼🐄🍔 🍠📧🌊🕁🔛🐩. 🌺📊🍼🐁💼 🔈💬🌱🎑🔊🐙💲👩 🍇👞📎👻🌔 💑🕁🎲💤 🎮📃🕖📖 📻💬🔢💔🐇👬 🔨🌃📈🔞\\\\\\\\n🌒🎈👙🔥🐊 📭👍📢👊📟.\\\\\\\\n\\\\\\\\n出死問民同歴術荘面族上自。窃指写氷名続球投込光試事樹増。作合副者扶実権守安展感意環待質出。告供体企紙勢構込君奪属仕子業戦\\\\\\\\n浮私。長論攻士踊再連公雪地約政近第公。界地島命党浮国沼出問気混心未独院。朝原妙画岡性制領子金次問無浦妥混口時研。道記険健\\\\\\\\n集立根聖間前設集族山要本覧。変注再悩式付療場図験問県家界月止収文。\\\\\\\\n\\\\\\\\nलेकिन उसके संपादक उपलब्ध दिनांक प्रति सम्पर्क प्राधिकरन नाकर मुक्त कलइस वेबजाल वर्तमान समस्याओ देखने भोगोलिक केन्द्रिय\\\\\\\\nकिया खयालात विज्ञान ध्येय गटको साधन चिदंश पासपाई व्याख्या मार्गदर्शन संदेश जिवन प्रतिबध वार्तालाप किके विश्व खरिदने\\\\\\\\nहुआआदी तकनीकी संदेश सारांश असरकारक वार्तालाप चाहे पहोच। अतित पुर्णता केन्द्रिय\\\\\\\\n\\\\\\\\n👅💾🐂🔙 🐂🎠👶🐮🐛 👛💗💶🌿💒 🐐🌱🐶🌴🏤🐒 🔪🍡🎸🐛🍖 📗🎓🏊🕀🎿 🔅📋📥👳🔝 🐗👝🏄🐲 📂🎷🐎🏯💎🐹 📲🍍🏥🔂🕚🐉🎤\\\\\\\\n🌕🐴📐🎪💋. 💔👂🐗📷🎐 🌹📔💒📝👎📭 🔖🍶💺🕘 🔡💘🎪🔚🔯👉 💯🎉👠🎁🐌💵 👌🔉🎹🕒💕🍁 🏡🍢🔹🔷👀💦🏉👀 👑🐺🐁🏤\\\\\\\\n🎺🍁🐙🐮🌃🕢🐟 🍶🎃🕕🔦 🐧🔝💔💚🔫👍 🌉🔁🌄📺 👓🎳📧🌆💖🍋🕔. 🍥🔘🗼📟 🍹🔸🔰🕣🌍 🏡💽🍬👗👧 📩👬🌻🐐🌞🌎🐵🔛 🏆🌹🍰🔬📕\\\\\\\\n👋🎩🍓🌏👙 🎁🏃🎌🍳🔋👎📔 🐈🌽🔘💮 🏬🐷💿🕕. 📕👖📦📡 🎅🎺🏭🍗💜💷🐦 💻💚🐪🕠🔀 💰🍹💶🍶🎥📄 🌛👕🐲🐣🍷🎬 🐥🎯🔵🎹\\\\\\\\n🌿👌🐚🍛🏪 🌵📞💃📗👱👩 📟🐸🌺🐅👮 💚🐦💉💞🌛 🔼🔤👓🏡💩.\\\\\\\\n\\\\\\\\n\\\\\\\\nयधपि बाजार तकरीबन आंतरजाल प्राधिकरन लगती संदेश एसलिये बिन्दुओ प्रोत्साहित जानकारी ढांचामात्रुभाषा बाजार बदले प्रमान\\\\\\\\nअनुवाद विकेन्द्रित पसंद ढांचा हमारि जोवे उद्योग संस्थान और्४५० विकसित उदेश लेकिन सकती वार्तालाप लाभान्वित संदेश उदेश\\\\\\\\nपहोच। लचकनहि अनुवाद सुविधा एकत्रित कीने सक्षम भीयह अत्यंत लचकनहि निरपेक्ष कराना हमारि प्राप्त पुर्णता प्रतिबध्दता होगा\\\\\\\\nउन्हे जाएन खयालात पहोचाना\\\\\\\\n\\\\\\\\n散待望会窮縮囲前賀理格顔欧製暮景初子加。首稿覧析回未帯則号医間本取退埋帯品。右歳約幻病護指極講賞京応。野受移供頑特公却報\\\\\\\\n法利務水提士政駐物際。角媛分地昧況面日残金真福方雨入顔作化。最刊情感売校見強移本説注辞。経必好以小球生音明優去験見政感治\\\\\\\\n報付。講刊切記勝帯載豪著転読金止。金子森午模移言兆埠関価亡出目載。\\\\\\\\n\\\\\\\\nWork on one thing at a time. Don't get carried away - we have plenty of time. Everything is happy if you choose to make\\\\\\\\nit that way. Happy painting, God bless. You can create anything that makes you happy. Just make a decision and let it\\\\\\\\ngo. Nice little clouds playing around in the sky.You can do anything here - the only pre-requisite is that it makes you\\\\\\\\nhappy. I'm going to mix up a little color. We’ll use Van Dyke Brown, Permanent Red, and a little bit of Prussian Blue.\\\\\\\\nLet's make some happy little clouds in our world.\\\\\\\\n\\\\\\\\nपहेला गएआप स्वतंत्र प्राधिकरन सेऔर अनुकूल ब्रौशर बिन्दुओमे सदस्य गुजरना तकनिकल वैश्विक सकते बनाति चिदंश चाहे कुशलता\\\\\\\\nवर्तमान प्रोत्साहित देने विवरन पहोचाना विकेन्द्रियकरण अनुकूल विभाजनक्षमता औषधिक अन्य खरिदे दिये आवश्यक समस्याए कम्प्युटर\\\\\\\\nविनिमय अविरोधता लाभान्वित लाभो ढांचा\\\\\\\\n\\\\\\\\n抄聞調時得直決移警撃覧進聞滑公政央。日探劇票選伊追短青功書更将奈府成多。味治理育月漬安意散護良読京。芳豚大度面傾府山応著\\\\\\\\n器地捜志。止高棋戻管明証経処流自勝動続。装載聞視属王減通橋説主費事業情芸。追若得本臭稿事馬予治川劇覧記今竹犯破育食。参兆\\\\\\\\n徹括単写東家素講舞校食医咋存務代連子。球設国事検問周東集題聞供奈。\\\\\\\\n\\\\\\\\n🍊🌆📛🍛🌊🍡🍒 🔦🐟🐵🍚🌐🍛🐏 🔆💍📟🎧 🔐📤💺🐒 🔥🔬🐣💹🌻👚 🎰👯🎡🗻💯🐉🌗 🍐👣🐯🔖📚 💡📟👨🍮🍼💛📞 🕕🐁🌾🏧💻📷\\\\\\\\n💗🐢🏥🎵🐰🍉 🏥🔎💛💘🔧🍛🎿 🍟🌰🐴🏫🎀 🎷🌿🌴🏤🍢📳🍺 🐗👷🌳👦📩🌁 🐂🔜🔙📕. 🌎🍠📓📠🕡 🎽🔺🔱🌔📗🎤 🎫🍃👚🍤🐽🌰\\\\\\\\n🕠🌉📪🍒🐃💲 🎢🔯👶🔙🔚🕝 🍮📒🏉🏨🐝🌿 👔💫🏁🎺 🐸💞🌈🐸 📣🔯📅🐍🐴 🌑🌍🌛👀 🕂👟🐕📃🎇🔞 🍮🔏🍥👨 🐪📲🐐🎁 🍥🔁📑💮🌘.\\\\\\\\n🌏🎎🍛👯 🔈🎸💨🏧📚 🏪💼🎣🔚 🐤💳💁👓 👃🍆🕘🐋👬🐣 🕚🏃🌄🔷🌈🔖 💥💧🔴🌛🍁👦 💣🐐🕓🎠🕚🕞🏭 💨👓🏢🌓🔄. 📪🔜💹👤👂🐭\\\\\\\\n🕚🔎🐂🏂👍📻 👾💠🌕📻🎍 🐟🔬🏢💍 👓👠👤🎐💸👝 🔟💕🕛💊 🍩🌙👬🐘 🍪🔙📉💔🐝🕝 📭🕡🎼💈📇🔡 👓🍁🎾👯👨 🏇🍱🐢🌛\\\\\\\\n🎇🐩📴🎋🕁📎🎈 🐌👱📎🍹👆 👐🍐📗👽🐹💜 📭🌔🌅🍯👀.\\\\\\\\n\\\\\\\\n🔜🐰🏊🍃🐮 🔪🔐📇🐩 🐬👔🍙🍩💉 🏉👩👔🍞🍟🌂 🍺🕔🌖🔪🔩🍥 🎓🍒🌅🐘💛 🐔🐊📶🐊 👂📌👂🍺 💗🐳🎠📧🏭💧 🐝📅🍆🔞🏆\\\\\\\\n👇🔂🐺🔬🎯🔳🎐🎍 💖💅🐲🔭📔🏊🔋 🐨📫🕢🎁. 🐯💁🔘📰🐪 💥👭🍘🎴📣💂💄 🐏🔊🐚👔🎿🐙 🔕🐞💹📁 🔊👴👬👪 👠📱👃📍 🏢🐃🍯🍹🗻\\\\\\\\n🐩💮👲👠 🍏🎽📄🐋 🔣💉🔉📒💸🎭👎 💁🗾🔵🐪🍣 🍃🔝💥🔒👴. 📦🔟🔶💷🍥 🍚🕤👦🍻🔥🍹 👄🌜🐑🌀🐃🔪🕦 🌟🐶🍞🕥🌛 👮🐄🏬🎴👂💼📵\\\\\\\\n🌋📐🐲👥 🔒🏭🔭💿🎫🎄 💓🐓🎐🎁👔📟 💌🍇🎶👷🎬 🌌💀🎸💡 📔🐢💁🔊👘🐳🌞 🎩📝💟🍼💦🔄 🕒🍼🏧🎄🔃💐. 🎆🌜👗👿 🐁🌑💮👙🎌👞\\\\\\\\n🏫📙🌌🕙🐥 👓🌑💎💸📹📒 👋🐎🍡🎾👸🗽 📢📓🌍🏮📳🔈 👶🐷🐭🎿🔴🗾🏬 🌆🔈🍡💞💭🎨. \\\\\";export{n as allTheIpsum};\n//# sourceMappingURL=pretty.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build pretty with microbundle 4`] = `\n\"exports.allTheIpsum=\\\\\"\\\\\\\\n\\\\\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\\\\\nmistakes than you do from your masterpieces.\\\\\\\\n\\\\\\\\nTrees grow in all kinds of ways. They're not all perfectly straight. Not every limb is perfect. Now let's put some happy\\\\\\\\nlittle clouds in here. We have no limits to our world. We're only limited by our imagination. The first step to doing\\\\\\\\nanything is to believe you can do it. See it finished in your mind before you ever start. Even trees need a friend. We\\\\\\\\nall need friends. And that's when it becomes fun - you don't have to spend your time thinking about what's happening -\\\\\\\\nyou just let it happen.\\\\\\\\n\\\\\\\\nरिती संपादक बेंगलूर अन्तरराष्ट्रीयकरन शीघ्र भाषा चिदंश उद्योग विस्तरणक्षमता चिदंश एकएस तरहथा। प्रोत्साहित उपेक्ष बिन्दुओ\\\\\\\\nध्येय देने गुजरना ऎसाजीस निर्माण नवंबर लिए। एसेएवं उपलब्धता मुश्किले डाले। बहतर सहायता माध्यम भाषाओ समूह\\\\\\\\n\\\\\\\\n井待品亡写回横提和指生志考結。重特天県偏切運録広詳三人転者数代歳。秀天戦機広八型希金生作事国第。年米教止証車断級弘報安楽\\\\\\\\n銀必約現獲料切。点額講問課覧傷邸出送跡出懲。編米人験由社迷入解公著片法記択昇必崎掲清。摩出元自越食多県実間旅売主注理併間\\\\\\\\n話策。小政退時年福米越給新家入解美露方堀港朝。俊間髪物縦該高報見甲購形州日事。\\\\\\\\n\\\\\\\\n🌸🍂🌃🐧🍘🏧🍮 🌶👢🔗🐥🔼🎮 🐤🍲📆👧🎼🐒 💑🍖📴🐠🍼 🎱🔮🍦💳👹 💫🏮📅🍑📭🎎 🏭💿🏫🔢👚💩 👇🌄🌗🔵💦 🔺🔡🌍🐗🏀📫\\\\\\\\n📻🍵🐰🔜🕧 🌴🌞🕙🎨🎾🔊🏰 🎑🌆🔁🌂 🕐📣📉🌴🕠📢 🎀📖🎋🔱📒💰 🍅🐻🌃🌖. 🎁🕔👎🎷📀📞 🍁🔫🍀🌃📹 💈📂💶👕 🍡📰👛🐻\\\\\\\\n🍖🐽💫📼 🍆🎀💛👫🔹 🎷🕙🌱👸🕁🔝 🍸🔅👿🐡. 🐟🔐🏡🔅👾 🐱💱👺🍶 🎠🔆🎤🏥🌻🗾 👽🎯💈🏣🔊📴💆🏫 🔉🌉🍃🌻 🎅🔌🔻💣 🌸🍎🐀🌇\\\\\\\\n🗻👔📤💤🔶. 🍆👣🕕👦📦👑 🐍🐉🔶🕕 🍲👩🍍🌕📻👒📵 🔣🌋🌟👼 🔏📀🐆🍖🍮 🐁🌘🐻🏥🐡🔶🔘🏭 👡🔫🔗📊📻 🍂💧🌿📥🔚 📹💻🔌💠🌚\\\\\\\\n🐦💴🌎🌞🏤.\\\\\\\\n\\\\\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\\\\\nmistakes than you do from your masterpieces. That's why I paint - because I can create the kind of world I want - and I\\\\\\\\ncan make this world as happy as I want it. I was blessed with a very steady hand; and it comes in very handy when you're\\\\\\\\ndoing these little delicate things. We'll paint one happy little tree right here. These things happen automatically. All\\\\\\\\nyou have to do is just let them happen.\\\\\\\\n\\\\\\\\n🐻🍘💀🐪 🕧🎂🕃🍵🏠 💎🌄🐐📘🐄 🍂🏤👊🍖 👆🍂📫👪🐈🕢👓 👯🕞🏉🍚🎆🔠🌵 🎭🎎💵📮📭 🔪💨📢📕 🐔📬👪🏄🐙🗽📤.\\\\\\\\n💛👴💧🎁👗💟👡💎 🎷🕡👮🗾🍷 🎪🍇🍩💰 📫🐗🎄🍍🎃 🎯🌴🐍🔉📰 👼👧🐢🕔🔷📞🍩 🔘👑🌆🌒🔣 🔆👺📴👾 🔝💑💸💒🏡🔸 🔟👞📷🔱👠\\\\\\\\n📵🏠📕🕝🐂👪 💐🎾🕁🗾👊📪. 🍉🏁👰🏡🕔💒🐯 🐟🍡📴🌿👱👢 📵💄🌊🌵🐫🍏 🎎🕠🍍💭💀👖 🎵💘🔗🍖 📧🌘🍅🕚📘🔮 👤🌾👿🐍🎽🌹\\\\\\\\n🎲🎎💅📪🐐🍢📈 🏣🐑👇👼🐄🍔 🍠📧🌊🕁🔛🐩. 🌺📊🍼🐁💼 🔈💬🌱🎑🔊🐙💲👩 🍇👞📎👻🌔 💑🕁🎲💤 🎮📃🕖📖 📻💬🔢💔🐇👬 🔨🌃📈🔞\\\\\\\\n🌒🎈👙🔥🐊 📭👍📢👊📟.\\\\\\\\n\\\\\\\\n出死問民同歴術荘面族上自。窃指写氷名続球投込光試事樹増。作合副者扶実権守安展感意環待質出。告供体企紙勢構込君奪属仕子業戦\\\\\\\\n浮私。長論攻士踊再連公雪地約政近第公。界地島命党浮国沼出問気混心未独院。朝原妙画岡性制領子金次問無浦妥混口時研。道記険健\\\\\\\\n集立根聖間前設集族山要本覧。変注再悩式付療場図験問県家界月止収文。\\\\\\\\n\\\\\\\\nलेकिन उसके संपादक उपलब्ध दिनांक प्रति सम्पर्क प्राधिकरन नाकर मुक्त कलइस वेबजाल वर्तमान समस्याओ देखने भोगोलिक केन्द्रिय\\\\\\\\nकिया खयालात विज्ञान ध्येय गटको साधन चिदंश पासपाई व्याख्या मार्गदर्शन संदेश जिवन प्रतिबध वार्तालाप किके विश्व खरिदने\\\\\\\\nहुआआदी तकनीकी संदेश सारांश असरकारक वार्तालाप चाहे पहोच। अतित पुर्णता केन्द्रिय\\\\\\\\n\\\\\\\\n👅💾🐂🔙 🐂🎠👶🐮🐛 👛💗💶🌿💒 🐐🌱🐶🌴🏤🐒 🔪🍡🎸🐛🍖 📗🎓🏊🕀🎿 🔅📋📥👳🔝 🐗👝🏄🐲 📂🎷🐎🏯💎🐹 📲🍍🏥🔂🕚🐉🎤\\\\\\\\n🌕🐴📐🎪💋. 💔👂🐗📷🎐 🌹📔💒📝👎📭 🔖🍶💺🕘 🔡💘🎪🔚🔯👉 💯🎉👠🎁🐌💵 👌🔉🎹🕒💕🍁 🏡🍢🔹🔷👀💦🏉👀 👑🐺🐁🏤\\\\\\\\n🎺🍁🐙🐮🌃🕢🐟 🍶🎃🕕🔦 🐧🔝💔💚🔫👍 🌉🔁🌄📺 👓🎳📧🌆💖🍋🕔. 🍥🔘🗼📟 🍹🔸🔰🕣🌍 🏡💽🍬👗👧 📩👬🌻🐐🌞🌎🐵🔛 🏆🌹🍰🔬📕\\\\\\\\n👋🎩🍓🌏👙 🎁🏃🎌🍳🔋👎📔 🐈🌽🔘💮 🏬🐷💿🕕. 📕👖📦📡 🎅🎺🏭🍗💜💷🐦 💻💚🐪🕠🔀 💰🍹💶🍶🎥📄 🌛👕🐲🐣🍷🎬 🐥🎯🔵🎹\\\\\\\\n🌿👌🐚🍛🏪 🌵📞💃📗👱👩 📟🐸🌺🐅👮 💚🐦💉💞🌛 🔼🔤👓🏡💩.\\\\\\\\n\\\\\\\\n\\\\\\\\nयधपि बाजार तकरीबन आंतरजाल प्राधिकरन लगती संदेश एसलिये बिन्दुओ प्रोत्साहित जानकारी ढांचामात्रुभाषा बाजार बदले प्रमान\\\\\\\\nअनुवाद विकेन्द्रित पसंद ढांचा हमारि जोवे उद्योग संस्थान और्४५० विकसित उदेश लेकिन सकती वार्तालाप लाभान्वित संदेश उदेश\\\\\\\\nपहोच। लचकनहि अनुवाद सुविधा एकत्रित कीने सक्षम भीयह अत्यंत लचकनहि निरपेक्ष कराना हमारि प्राप्त पुर्णता प्रतिबध्दता होगा\\\\\\\\nउन्हे जाएन खयालात पहोचाना\\\\\\\\n\\\\\\\\n散待望会窮縮囲前賀理格顔欧製暮景初子加。首稿覧析回未帯則号医間本取退埋帯品。右歳約幻病護指極講賞京応。野受移供頑特公却報\\\\\\\\n法利務水提士政駐物際。角媛分地昧況面日残金真福方雨入顔作化。最刊情感売校見強移本説注辞。経必好以小球生音明優去験見政感治\\\\\\\\n報付。講刊切記勝帯載豪著転読金止。金子森午模移言兆埠関価亡出目載。\\\\\\\\n\\\\\\\\nWork on one thing at a time. Don't get carried away - we have plenty of time. Everything is happy if you choose to make\\\\\\\\nit that way. Happy painting, God bless. You can create anything that makes you happy. Just make a decision and let it\\\\\\\\ngo. Nice little clouds playing around in the sky.You can do anything here - the only pre-requisite is that it makes you\\\\\\\\nhappy. I'm going to mix up a little color. We’ll use Van Dyke Brown, Permanent Red, and a little bit of Prussian Blue.\\\\\\\\nLet's make some happy little clouds in our world.\\\\\\\\n\\\\\\\\nपहेला गएआप स्वतंत्र प्राधिकरन सेऔर अनुकूल ब्रौशर बिन्दुओमे सदस्य गुजरना तकनिकल वैश्विक सकते बनाति चिदंश चाहे कुशलता\\\\\\\\nवर्तमान प्रोत्साहित देने विवरन पहोचाना विकेन्द्रियकरण अनुकूल विभाजनक्षमता औषधिक अन्य खरिदे दिये आवश्यक समस्याए कम्प्युटर\\\\\\\\nविनिमय अविरोधता लाभान्वित लाभो ढांचा\\\\\\\\n\\\\\\\\n抄聞調時得直決移警撃覧進聞滑公政央。日探劇票選伊追短青功書更将奈府成多。味治理育月漬安意散護良読京。芳豚大度面傾府山応著\\\\\\\\n器地捜志。止高棋戻管明証経処流自勝動続。装載聞視属王減通橋説主費事業情芸。追若得本臭稿事馬予治川劇覧記今竹犯破育食。参兆\\\\\\\\n徹括単写東家素講舞校食医咋存務代連子。球設国事検問周東集題聞供奈。\\\\\\\\n\\\\\\\\n🍊🌆📛🍛🌊🍡🍒 🔦🐟🐵🍚🌐🍛🐏 🔆💍📟🎧 🔐📤💺🐒 🔥🔬🐣💹🌻👚 🎰👯🎡🗻💯🐉🌗 🍐👣🐯🔖📚 💡📟👨🍮🍼💛📞 🕕🐁🌾🏧💻📷\\\\\\\\n💗🐢🏥🎵🐰🍉 🏥🔎💛💘🔧🍛🎿 🍟🌰🐴🏫🎀 🎷🌿🌴🏤🍢📳🍺 🐗👷🌳👦📩🌁 🐂🔜🔙📕. 🌎🍠📓📠🕡 🎽🔺🔱🌔📗🎤 🎫🍃👚🍤🐽🌰\\\\\\\\n🕠🌉📪🍒🐃💲 🎢🔯👶🔙🔚🕝 🍮📒🏉🏨🐝🌿 👔💫🏁🎺 🐸💞🌈🐸 📣🔯📅🐍🐴 🌑🌍🌛👀 🕂👟🐕📃🎇🔞 🍮🔏🍥👨 🐪📲🐐🎁 🍥🔁📑💮🌘.\\\\\\\\n🌏🎎🍛👯 🔈🎸💨🏧📚 🏪💼🎣🔚 🐤💳💁👓 👃🍆🕘🐋👬🐣 🕚🏃🌄🔷🌈🔖 💥💧🔴🌛🍁👦 💣🐐🕓🎠🕚🕞🏭 💨👓🏢🌓🔄. 📪🔜💹👤👂🐭\\\\\\\\n🕚🔎🐂🏂👍📻 👾💠🌕📻🎍 🐟🔬🏢💍 👓👠👤🎐💸👝 🔟💕🕛💊 🍩🌙👬🐘 🍪🔙📉💔🐝🕝 📭🕡🎼💈📇🔡 👓🍁🎾👯👨 🏇🍱🐢🌛\\\\\\\\n🎇🐩📴🎋🕁📎🎈 🐌👱📎🍹👆 👐🍐📗👽🐹💜 📭🌔🌅🍯👀.\\\\\\\\n\\\\\\\\n🔜🐰🏊🍃🐮 🔪🔐📇🐩 🐬👔🍙🍩💉 🏉👩👔🍞🍟🌂 🍺🕔🌖🔪🔩🍥 🎓🍒🌅🐘💛 🐔🐊📶🐊 👂📌👂🍺 💗🐳🎠📧🏭💧 🐝📅🍆🔞🏆\\\\\\\\n👇🔂🐺🔬🎯🔳🎐🎍 💖💅🐲🔭📔🏊🔋 🐨📫🕢🎁. 🐯💁🔘📰🐪 💥👭🍘🎴📣💂💄 🐏🔊🐚👔🎿🐙 🔕🐞💹📁 🔊👴👬👪 👠📱👃📍 🏢🐃🍯🍹🗻\\\\\\\\n🐩💮👲👠 🍏🎽📄🐋 🔣💉🔉📒💸🎭👎 💁🗾🔵🐪🍣 🍃🔝💥🔒👴. 📦🔟🔶💷🍥 🍚🕤👦🍻🔥🍹 👄🌜🐑🌀🐃🔪🕦 🌟🐶🍞🕥🌛 👮🐄🏬🎴👂💼📵\\\\\\\\n🌋📐🐲👥 🔒🏭🔭💿🎫🎄 💓🐓🎐🎁👔📟 💌🍇🎶👷🎬 🌌💀🎸💡 📔🐢💁🔊👘🐳🌞 🎩📝💟🍼💦🔄 🕒🍼🏧🎄🔃💐. 🎆🌜👗👿 🐁🌑💮👙🎌👞\\\\\\\\n🏫📙🌌🕙🐥 👓🌑💎💸📹📒 👋🐎🍡🎾👸🗽 📢📓🌍🏮📳🔈 👶🐷🐭🎿🔴🗾🏬 🌆🔈🍡💞💭🎨. \\\\\";\n//# sourceMappingURL=pretty.js.map\n\"\n`;\n\nexports[`fixtures build pretty with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?n(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],n):n((e||self).pretty={})}(this,function(e){e.allTheIpsum=\\\\\"\\\\\\\\n\\\\\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\\\\\nmistakes than you do from your masterpieces.\\\\\\\\n\\\\\\\\nTrees grow in all kinds of ways. They're not all perfectly straight. Not every limb is perfect. Now let's put some happy\\\\\\\\nlittle clouds in here. We have no limits to our world. We're only limited by our imagination. The first step to doing\\\\\\\\nanything is to believe you can do it. See it finished in your mind before you ever start. Even trees need a friend. We\\\\\\\\nall need friends. And that's when it becomes fun - you don't have to spend your time thinking about what's happening -\\\\\\\\nyou just let it happen.\\\\\\\\n\\\\\\\\nरिती संपादक बेंगलूर अन्तरराष्ट्रीयकरन शीघ्र भाषा चिदंश उद्योग विस्तरणक्षमता चिदंश एकएस तरहथा। प्रोत्साहित उपेक्ष बिन्दुओ\\\\\\\\nध्येय देने गुजरना ऎसाजीस निर्माण नवंबर लिए। एसेएवं उपलब्धता मुश्किले डाले। बहतर सहायता माध्यम भाषाओ समूह\\\\\\\\n\\\\\\\\n井待品亡写回横提和指生志考結。重特天県偏切運録広詳三人転者数代歳。秀天戦機広八型希金生作事国第。年米教止証車断級弘報安楽\\\\\\\\n銀必約現獲料切。点額講問課覧傷邸出送跡出懲。編米人験由社迷入解公著片法記択昇必崎掲清。摩出元自越食多県実間旅売主注理併間\\\\\\\\n話策。小政退時年福米越給新家入解美露方堀港朝。俊間髪物縦該高報見甲購形州日事。\\\\\\\\n\\\\\\\\n🌸🍂🌃🐧🍘🏧🍮 🌶👢🔗🐥🔼🎮 🐤🍲📆👧🎼🐒 💑🍖📴🐠🍼 🎱🔮🍦💳👹 💫🏮📅🍑📭🎎 🏭💿🏫🔢👚💩 👇🌄🌗🔵💦 🔺🔡🌍🐗🏀📫\\\\\\\\n📻🍵🐰🔜🕧 🌴🌞🕙🎨🎾🔊🏰 🎑🌆🔁🌂 🕐📣📉🌴🕠📢 🎀📖🎋🔱📒💰 🍅🐻🌃🌖. 🎁🕔👎🎷📀📞 🍁🔫🍀🌃📹 💈📂💶👕 🍡📰👛🐻\\\\\\\\n🍖🐽💫📼 🍆🎀💛👫🔹 🎷🕙🌱👸🕁🔝 🍸🔅👿🐡. 🐟🔐🏡🔅👾 🐱💱👺🍶 🎠🔆🎤🏥🌻🗾 👽🎯💈🏣🔊📴💆🏫 🔉🌉🍃🌻 🎅🔌🔻💣 🌸🍎🐀🌇\\\\\\\\n🗻👔📤💤🔶. 🍆👣🕕👦📦👑 🐍🐉🔶🕕 🍲👩🍍🌕📻👒📵 🔣🌋🌟👼 🔏📀🐆🍖🍮 🐁🌘🐻🏥🐡🔶🔘🏭 👡🔫🔗📊📻 🍂💧🌿📥🔚 📹💻🔌💠🌚\\\\\\\\n🐦💴🌎🌞🏤.\\\\\\\\n\\\\\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\\\\\nmistakes than you do from your masterpieces. That's why I paint - because I can create the kind of world I want - and I\\\\\\\\ncan make this world as happy as I want it. I was blessed with a very steady hand; and it comes in very handy when you're\\\\\\\\ndoing these little delicate things. We'll paint one happy little tree right here. These things happen automatically. All\\\\\\\\nyou have to do is just let them happen.\\\\\\\\n\\\\\\\\n🐻🍘💀🐪 🕧🎂🕃🍵🏠 💎🌄🐐📘🐄 🍂🏤👊🍖 👆🍂📫👪🐈🕢👓 👯🕞🏉🍚🎆🔠🌵 🎭🎎💵📮📭 🔪💨📢📕 🐔📬👪🏄🐙🗽📤.\\\\\\\\n💛👴💧🎁👗💟👡💎 🎷🕡👮🗾🍷 🎪🍇🍩💰 📫🐗🎄🍍🎃 🎯🌴🐍🔉📰 👼👧🐢🕔🔷📞🍩 🔘👑🌆🌒🔣 🔆👺📴👾 🔝💑💸💒🏡🔸 🔟👞📷🔱👠\\\\\\\\n📵🏠📕🕝🐂👪 💐🎾🕁🗾👊📪. 🍉🏁👰🏡🕔💒🐯 🐟🍡📴🌿👱👢 📵💄🌊🌵🐫🍏 🎎🕠🍍💭💀👖 🎵💘🔗🍖 📧🌘🍅🕚📘🔮 👤🌾👿🐍🎽🌹\\\\\\\\n🎲🎎💅📪🐐🍢📈 🏣🐑👇👼🐄🍔 🍠📧🌊🕁🔛🐩. 🌺📊🍼🐁💼 🔈💬🌱🎑🔊🐙💲👩 🍇👞📎👻🌔 💑🕁🎲💤 🎮📃🕖📖 📻💬🔢💔🐇👬 🔨🌃📈🔞\\\\\\\\n🌒🎈👙🔥🐊 📭👍📢👊📟.\\\\\\\\n\\\\\\\\n出死問民同歴術荘面族上自。窃指写氷名続球投込光試事樹増。作合副者扶実権守安展感意環待質出。告供体企紙勢構込君奪属仕子業戦\\\\\\\\n浮私。長論攻士踊再連公雪地約政近第公。界地島命党浮国沼出問気混心未独院。朝原妙画岡性制領子金次問無浦妥混口時研。道記険健\\\\\\\\n集立根聖間前設集族山要本覧。変注再悩式付療場図験問県家界月止収文。\\\\\\\\n\\\\\\\\nलेकिन उसके संपादक उपलब्ध दिनांक प्रति सम्पर्क प्राधिकरन नाकर मुक्त कलइस वेबजाल वर्तमान समस्याओ देखने भोगोलिक केन्द्रिय\\\\\\\\nकिया खयालात विज्ञान ध्येय गटको साधन चिदंश पासपाई व्याख्या मार्गदर्शन संदेश जिवन प्रतिबध वार्तालाप किके विश्व खरिदने\\\\\\\\nहुआआदी तकनीकी संदेश सारांश असरकारक वार्तालाप चाहे पहोच। अतित पुर्णता केन्द्रिय\\\\\\\\n\\\\\\\\n👅💾🐂🔙 🐂🎠👶🐮🐛 👛💗💶🌿💒 🐐🌱🐶🌴🏤🐒 🔪🍡🎸🐛🍖 📗🎓🏊🕀🎿 🔅📋📥👳🔝 🐗👝🏄🐲 📂🎷🐎🏯💎🐹 📲🍍🏥🔂🕚🐉🎤\\\\\\\\n🌕🐴📐🎪💋. 💔👂🐗📷🎐 🌹📔💒📝👎📭 🔖🍶💺🕘 🔡💘🎪🔚🔯👉 💯🎉👠🎁🐌💵 👌🔉🎹🕒💕🍁 🏡🍢🔹🔷👀💦🏉👀 👑🐺🐁🏤\\\\\\\\n🎺🍁🐙🐮🌃🕢🐟 🍶🎃🕕🔦 🐧🔝💔💚🔫👍 🌉🔁🌄📺 👓🎳📧🌆💖🍋🕔. 🍥🔘🗼📟 🍹🔸🔰🕣🌍 🏡💽🍬👗👧 📩👬🌻🐐🌞🌎🐵🔛 🏆🌹🍰🔬📕\\\\\\\\n👋🎩🍓🌏👙 🎁🏃🎌🍳🔋👎📔 🐈🌽🔘💮 🏬🐷💿🕕. 📕👖📦📡 🎅🎺🏭🍗💜💷🐦 💻💚🐪🕠🔀 💰🍹💶🍶🎥📄 🌛👕🐲🐣🍷🎬 🐥🎯🔵🎹\\\\\\\\n🌿👌🐚🍛🏪 🌵📞💃📗👱👩 📟🐸🌺🐅👮 💚🐦💉💞🌛 🔼🔤👓🏡💩.\\\\\\\\n\\\\\\\\n\\\\\\\\nयधपि बाजार तकरीबन आंतरजाल प्राधिकरन लगती संदेश एसलिये बिन्दुओ प्रोत्साहित जानकारी ढांचामात्रुभाषा बाजार बदले प्रमान\\\\\\\\nअनुवाद विकेन्द्रित पसंद ढांचा हमारि जोवे उद्योग संस्थान और्४५० विकसित उदेश लेकिन सकती वार्तालाप लाभान्वित संदेश उदेश\\\\\\\\nपहोच। लचकनहि अनुवाद सुविधा एकत्रित कीने सक्षम भीयह अत्यंत लचकनहि निरपेक्ष कराना हमारि प्राप्त पुर्णता प्रतिबध्दता होगा\\\\\\\\nउन्हे जाएन खयालात पहोचाना\\\\\\\\n\\\\\\\\n散待望会窮縮囲前賀理格顔欧製暮景初子加。首稿覧析回未帯則号医間本取退埋帯品。右歳約幻病護指極講賞京応。野受移供頑特公却報\\\\\\\\n法利務水提士政駐物際。角媛分地昧況面日残金真福方雨入顔作化。最刊情感売校見強移本説注辞。経必好以小球生音明優去験見政感治\\\\\\\\n報付。講刊切記勝帯載豪著転読金止。金子森午模移言兆埠関価亡出目載。\\\\\\\\n\\\\\\\\nWork on one thing at a time. Don't get carried away - we have plenty of time. Everything is happy if you choose to make\\\\\\\\nit that way. Happy painting, God bless. You can create anything that makes you happy. Just make a decision and let it\\\\\\\\ngo. Nice little clouds playing around in the sky.You can do anything here - the only pre-requisite is that it makes you\\\\\\\\nhappy. I'm going to mix up a little color. We’ll use Van Dyke Brown, Permanent Red, and a little bit of Prussian Blue.\\\\\\\\nLet's make some happy little clouds in our world.\\\\\\\\n\\\\\\\\nपहेला गएआप स्वतंत्र प्राधिकरन सेऔर अनुकूल ब्रौशर बिन्दुओमे सदस्य गुजरना तकनिकल वैश्विक सकते बनाति चिदंश चाहे कुशलता\\\\\\\\nवर्तमान प्रोत्साहित देने विवरन पहोचाना विकेन्द्रियकरण अनुकूल विभाजनक्षमता औषधिक अन्य खरिदे दिये आवश्यक समस्याए कम्प्युटर\\\\\\\\nविनिमय अविरोधता लाभान्वित लाभो ढांचा\\\\\\\\n\\\\\\\\n抄聞調時得直決移警撃覧進聞滑公政央。日探劇票選伊追短青功書更将奈府成多。味治理育月漬安意散護良読京。芳豚大度面傾府山応著\\\\\\\\n器地捜志。止高棋戻管明証経処流自勝動続。装載聞視属王減通橋説主費事業情芸。追若得本臭稿事馬予治川劇覧記今竹犯破育食。参兆\\\\\\\\n徹括単写東家素講舞校食医咋存務代連子。球設国事検問周東集題聞供奈。\\\\\\\\n\\\\\\\\n🍊🌆📛🍛🌊🍡🍒 🔦🐟🐵🍚🌐🍛🐏 🔆💍📟🎧 🔐📤💺🐒 🔥🔬🐣💹🌻👚 🎰👯🎡🗻💯🐉🌗 🍐👣🐯🔖📚 💡📟👨🍮🍼💛📞 🕕🐁🌾🏧💻📷\\\\\\\\n💗🐢🏥🎵🐰🍉 🏥🔎💛💘🔧🍛🎿 🍟🌰🐴🏫🎀 🎷🌿🌴🏤🍢📳🍺 🐗👷🌳👦📩🌁 🐂🔜🔙📕. 🌎🍠📓📠🕡 🎽🔺🔱🌔📗🎤 🎫🍃👚🍤🐽🌰\\\\\\\\n🕠🌉📪🍒🐃💲 🎢🔯👶🔙🔚🕝 🍮📒🏉🏨🐝🌿 👔💫🏁🎺 🐸💞🌈🐸 📣🔯📅🐍🐴 🌑🌍🌛👀 🕂👟🐕📃🎇🔞 🍮🔏🍥👨 🐪📲🐐🎁 🍥🔁📑💮🌘.\\\\\\\\n🌏🎎🍛👯 🔈🎸💨🏧📚 🏪💼🎣🔚 🐤💳💁👓 👃🍆🕘🐋👬🐣 🕚🏃🌄🔷🌈🔖 💥💧🔴🌛🍁👦 💣🐐🕓🎠🕚🕞🏭 💨👓🏢🌓🔄. 📪🔜💹👤👂🐭\\\\\\\\n🕚🔎🐂🏂👍📻 👾💠🌕📻🎍 🐟🔬🏢💍 👓👠👤🎐💸👝 🔟💕🕛💊 🍩🌙👬🐘 🍪🔙📉💔🐝🕝 📭🕡🎼💈📇🔡 👓🍁🎾👯👨 🏇🍱🐢🌛\\\\\\\\n🎇🐩📴🎋🕁📎🎈 🐌👱📎🍹👆 👐🍐📗👽🐹💜 📭🌔🌅🍯👀.\\\\\\\\n\\\\\\\\n🔜🐰🏊🍃🐮 🔪🔐📇🐩 🐬👔🍙🍩💉 🏉👩👔🍞🍟🌂 🍺🕔🌖🔪🔩🍥 🎓🍒🌅🐘💛 🐔🐊📶🐊 👂📌👂🍺 💗🐳🎠📧🏭💧 🐝📅🍆🔞🏆\\\\\\\\n👇🔂🐺🔬🎯🔳🎐🎍 💖💅🐲🔭📔🏊🔋 🐨📫🕢🎁. 🐯💁🔘📰🐪 💥👭🍘🎴📣💂💄 🐏🔊🐚👔🎿🐙 🔕🐞💹📁 🔊👴👬👪 👠📱👃📍 🏢🐃🍯🍹🗻\\\\\\\\n🐩💮👲👠 🍏🎽📄🐋 🔣💉🔉📒💸🎭👎 💁🗾🔵🐪🍣 🍃🔝💥🔒👴. 📦🔟🔶💷🍥 🍚🕤👦🍻🔥🍹 👄🌜🐑🌀🐃🔪🕦 🌟🐶🍞🕥🌛 👮🐄🏬🎴👂💼📵\\\\\\\\n🌋📐🐲👥 🔒🏭🔭💿🎫🎄 💓🐓🎐🎁👔📟 💌🍇🎶👷🎬 🌌💀🎸💡 📔🐢💁🔊👘🐳🌞 🎩📝💟🍼💦🔄 🕒🍼🏧🎄🔃💐. 🎆🌜👗👿 🐁🌑💮👙🎌👞\\\\\\\\n🏫📙🌌🕙🐥 👓🌑💎💸📹📒 👋🐎🍡🎾👸🗽 📢📓🌍🏮📳🔈 👶🐷🐭🎿🔴🗾🏬 🌆🔈🍡💞💭🎨. \\\\\"});\n//# sourceMappingURL=pretty.umd.js.map\n\"\n`;\n\nexports[`fixtures build publish-config with microbundle 1`] = `\n\"Used script: microbundle -f cjs\n\nDirectory tree:\n\npublish-config\n  dist\n    bar.js\n    bar.js.map\n    foo.d.ts\n  node_modules\n  package.json\n  src\n    foo.ts\n\n\nBuild \\\\\"publish-config\\\\\" to dist:\n55 B: bar.js.gz\n33 B: bar.js.br\"\n`;\n\nexports[`fixtures build publish-config with microbundle 2`] = `3`;\n\nexports[`fixtures build publish-config with microbundle 3`] = `\n\"exports.foo=function(){return 42};\n//# sourceMappingURL=bar.js.map\n\"\n`;\n\nexports[`fixtures build publish-config with microbundle 4`] = `\n\"export declare function foo(): number;\n\"\n`;\n\nexports[`fixtures build pure with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\npure\n  dist\n    pure.esm.mjs\n    pure.esm.mjs.map\n    pure.js\n    pure.js.map\n    pure.umd.js\n    pure.umd.js.map\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"pure\\\\\" to dist:\n65 B: pure.js.gz\n44 B: pure.js.br\n71 B: pure.esm.mjs.gz\n49 B: pure.esm.mjs.br\n167 B: pure.umd.js.gz\n125 B: pure.umd.js.br\"\n`;\n\nexports[`fixtures build pure with microbundle 2`] = `6`;\n\nexports[`fixtures build pure with microbundle 3`] = `\n\"function o(){return\\\\\"hello world\\\\\"}export{o as foo};\n//# sourceMappingURL=pure.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build pure with microbundle 4`] = `\n\"exports.foo=function(){return\\\\\"hello world\\\\\"};\n//# sourceMappingURL=pure.js.map\n\"\n`;\n\nexports[`fixtures build pure with microbundle 5`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?o(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],o):o((e||self).pure={})}(this,function(e){e.foo=function(){return\\\\\"hello world\\\\\"}});\n//# sourceMappingURL=pure.umd.js.map\n\"\n`;\n\nexports[`fixtures build raw with microbundle 1`] = `\n\"Used script: microbundle --raw\n\nDirectory tree:\n\nraw\n  dist\n    raw.esm.mjs\n    raw.esm.mjs.map\n    raw.js\n    raw.js.map\n    raw.umd.js\n    raw.umd.js.map\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"raw\\\\\" to dist:\n1389 B: raw.js.gz\n1160 B: raw.js.br\n1398 B: raw.esm.mjs.gz\n1169 B: raw.esm.mjs.br\n1500 B: raw.umd.js.gz\n1248 B: raw.umd.js.br\"\n`;\n\nexports[`fixtures build raw with microbundle 2`] = `6`;\n\nexports[`fixtures build raw with microbundle 3`] = `\n\"var e=\\\\\"\\\\\\\\n\\\\\\\\tWe might as well make some Almighty mountains today as well, what the heck.\\\\\\\\n\\\\\\\\tIn your imagination you can go anywhere you want. Nice little fluffy clouds\\\\\\\\n\\\\\\\\tlaying around in the sky being lazy. You have to make those little noises or\\\\\\\\n\\\\\\\\tit won't work. Clouds are free they come and go as they please.\\\\\\\\n\\\\\\\\n\\\\\\\\tTrees grow in all kinds of ways. They're not all perfectly straight. Not\\\\\\\\n\\\\\\\\tevery limb is perfect. Now let's put some happy little clouds in here. We\\\\\\\\n\\\\\\\\thave no limits to our world. We're only limited by our imagination. The\\\\\\\\n\\\\\\\\tfirst step to doing anything is to believe you can do it. See it finished\\\\\\\\n\\\\\\\\tin your mind before you ever start. Even trees need a friend. We all need\\\\\\\\n\\\\\\\\tfriends. And that's when it becomes fun - you don't have to spend your\\\\\\\\n\\\\\\\\ttime thinking about what's happening - you just let it happen.\\\\\\\\n\\\\\\\\n\\\\\\\\tI thought today we would do a happy little picture. We don't have to be\\\\\\\\n\\\\\\\\tconcerned about it. We just have to let it fall where it will. I'm gonna\\\\\\\\n\\\\\\\\tstart with a little Alizarin crimson and a touch of Prussian blue Be so\\\\\\\\n\\\\\\\\tvery light. Be a gentle whisper. The only prerequisite is that it makes\\\\\\\\n\\\\\\\\tyou happy. If it makes you happy then it's good. This is truly an almighty\\\\\\\\n\\\\\\\\tmountain.\\\\\\\\n\\\\\\\\n\\\\\\\\tThat's why I paint - because I can create the kind of world I want - and I\\\\\\\\n\\\\\\\\tcan make this world as happy as I want it. I was blessed with a very steady\\\\\\\\n\\\\\\\\thand; and it comes in very handy when you're doing these little delicate\\\\\\\\n\\\\\\\\tthings. We'll paint one happy little tree right here. These things happen\\\\\\\\n\\\\\\\\tautomatically. All you have to do is just let them happen.\\\\\\\\n\\\\\\\\n\\\\\\\\tYou can do anything here - the only pre-requisite is that it makes you\\\\\\\\n\\\\\\\\thappy. I'm going to mix up a little color. We’ll use Van Dyke Brown,\\\\\\\\n\\\\\\\\tPermanent Red, and a little bit of Prussian Blue. Let's make some happy\\\\\\\\n\\\\\\\\tlittle clouds in our world.\\\\\\\\n\\\\\\\\n\\\\\\\\tWork on one thing at a time. Don't get carried away - we have plenty of\\\\\\\\n\\\\\\\\ttime. Everything is happy if you choose to make it that way. Happy\\\\\\\\n\\\\\\\\tpainting, God bless. You can create anything that makes you happy. Just\\\\\\\\n\\\\\\\\tmake a decision and let it go. Nice little clouds playing around in the\\\\\\\\n\\\\\\\\tsky.\\\\\\\\n\\\\\\\\n\\\\\\\\tAnytime you learn something your time and energy are not wasted. Van Dyke\\\\\\\\n\\\\\\\\tBrown is a very nice brown, it's almost like a chocolate brown. It's\\\\\\\\n\\\\\\\\timportant to me that you're happy. In nature, dead trees are just as normal\\\\\\\\n\\\\\\\\tas live trees. Painting should do one thing. It should put happiness in\\\\\\\\n\\\\\\\\tyour heart.\\\\\\\\n\\\\\\\\n\\\\\\\\tThere is immense joy in just watching - watching all the little creatures\\\\\\\\n\\\\\\\\tin nature. I'll go over the colors one more time that we use: Titanium\\\\\\\\n\\\\\\\\twhite, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap\\\\\\\\n\\\\\\\\tgreen, Cad yellow, and Permanent red. If you don't like it - change it.\\\\\\\\n\\\\\\\\tIt's your world. Be brave. Sometimes you learn more from your mistakes than\\\\\\\\n\\\\\\\\tyou do from your masterpieces.\\\\\";export{e as OneKilobyteOfBobRoss};\n//# sourceMappingURL=raw.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build raw with microbundle 4`] = `\n\"exports.OneKilobyteOfBobRoss=\\\\\"\\\\\\\\n\\\\\\\\tWe might as well make some Almighty mountains today as well, what the heck.\\\\\\\\n\\\\\\\\tIn your imagination you can go anywhere you want. Nice little fluffy clouds\\\\\\\\n\\\\\\\\tlaying around in the sky being lazy. You have to make those little noises or\\\\\\\\n\\\\\\\\tit won't work. Clouds are free they come and go as they please.\\\\\\\\n\\\\\\\\n\\\\\\\\tTrees grow in all kinds of ways. They're not all perfectly straight. Not\\\\\\\\n\\\\\\\\tevery limb is perfect. Now let's put some happy little clouds in here. We\\\\\\\\n\\\\\\\\thave no limits to our world. We're only limited by our imagination. The\\\\\\\\n\\\\\\\\tfirst step to doing anything is to believe you can do it. See it finished\\\\\\\\n\\\\\\\\tin your mind before you ever start. Even trees need a friend. We all need\\\\\\\\n\\\\\\\\tfriends. And that's when it becomes fun - you don't have to spend your\\\\\\\\n\\\\\\\\ttime thinking about what's happening - you just let it happen.\\\\\\\\n\\\\\\\\n\\\\\\\\tI thought today we would do a happy little picture. We don't have to be\\\\\\\\n\\\\\\\\tconcerned about it. We just have to let it fall where it will. I'm gonna\\\\\\\\n\\\\\\\\tstart with a little Alizarin crimson and a touch of Prussian blue Be so\\\\\\\\n\\\\\\\\tvery light. Be a gentle whisper. The only prerequisite is that it makes\\\\\\\\n\\\\\\\\tyou happy. If it makes you happy then it's good. This is truly an almighty\\\\\\\\n\\\\\\\\tmountain.\\\\\\\\n\\\\\\\\n\\\\\\\\tThat's why I paint - because I can create the kind of world I want - and I\\\\\\\\n\\\\\\\\tcan make this world as happy as I want it. I was blessed with a very steady\\\\\\\\n\\\\\\\\thand; and it comes in very handy when you're doing these little delicate\\\\\\\\n\\\\\\\\tthings. We'll paint one happy little tree right here. These things happen\\\\\\\\n\\\\\\\\tautomatically. All you have to do is just let them happen.\\\\\\\\n\\\\\\\\n\\\\\\\\tYou can do anything here - the only pre-requisite is that it makes you\\\\\\\\n\\\\\\\\thappy. I'm going to mix up a little color. We’ll use Van Dyke Brown,\\\\\\\\n\\\\\\\\tPermanent Red, and a little bit of Prussian Blue. Let's make some happy\\\\\\\\n\\\\\\\\tlittle clouds in our world.\\\\\\\\n\\\\\\\\n\\\\\\\\tWork on one thing at a time. Don't get carried away - we have plenty of\\\\\\\\n\\\\\\\\ttime. Everything is happy if you choose to make it that way. Happy\\\\\\\\n\\\\\\\\tpainting, God bless. You can create anything that makes you happy. Just\\\\\\\\n\\\\\\\\tmake a decision and let it go. Nice little clouds playing around in the\\\\\\\\n\\\\\\\\tsky.\\\\\\\\n\\\\\\\\n\\\\\\\\tAnytime you learn something your time and energy are not wasted. Van Dyke\\\\\\\\n\\\\\\\\tBrown is a very nice brown, it's almost like a chocolate brown. It's\\\\\\\\n\\\\\\\\timportant to me that you're happy. In nature, dead trees are just as normal\\\\\\\\n\\\\\\\\tas live trees. Painting should do one thing. It should put happiness in\\\\\\\\n\\\\\\\\tyour heart.\\\\\\\\n\\\\\\\\n\\\\\\\\tThere is immense joy in just watching - watching all the little creatures\\\\\\\\n\\\\\\\\tin nature. I'll go over the colors one more time that we use: Titanium\\\\\\\\n\\\\\\\\twhite, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap\\\\\\\\n\\\\\\\\tgreen, Cad yellow, and Permanent red. If you don't like it - change it.\\\\\\\\n\\\\\\\\tIt's your world. Be brave. Sometimes you learn more from your mistakes than\\\\\\\\n\\\\\\\\tyou do from your masterpieces.\\\\\";\n//# sourceMappingURL=raw.js.map\n\"\n`;\n\nexports[`fixtures build raw with microbundle 5`] = `\n\"!function(e,t){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?t(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],t):t((e||self).raw={})}(this,function(e){e.OneKilobyteOfBobRoss=\\\\\"\\\\\\\\n\\\\\\\\tWe might as well make some Almighty mountains today as well, what the heck.\\\\\\\\n\\\\\\\\tIn your imagination you can go anywhere you want. Nice little fluffy clouds\\\\\\\\n\\\\\\\\tlaying around in the sky being lazy. You have to make those little noises or\\\\\\\\n\\\\\\\\tit won't work. Clouds are free they come and go as they please.\\\\\\\\n\\\\\\\\n\\\\\\\\tTrees grow in all kinds of ways. They're not all perfectly straight. Not\\\\\\\\n\\\\\\\\tevery limb is perfect. Now let's put some happy little clouds in here. We\\\\\\\\n\\\\\\\\thave no limits to our world. We're only limited by our imagination. The\\\\\\\\n\\\\\\\\tfirst step to doing anything is to believe you can do it. See it finished\\\\\\\\n\\\\\\\\tin your mind before you ever start. Even trees need a friend. We all need\\\\\\\\n\\\\\\\\tfriends. And that's when it becomes fun - you don't have to spend your\\\\\\\\n\\\\\\\\ttime thinking about what's happening - you just let it happen.\\\\\\\\n\\\\\\\\n\\\\\\\\tI thought today we would do a happy little picture. We don't have to be\\\\\\\\n\\\\\\\\tconcerned about it. We just have to let it fall where it will. I'm gonna\\\\\\\\n\\\\\\\\tstart with a little Alizarin crimson and a touch of Prussian blue Be so\\\\\\\\n\\\\\\\\tvery light. Be a gentle whisper. The only prerequisite is that it makes\\\\\\\\n\\\\\\\\tyou happy. If it makes you happy then it's good. This is truly an almighty\\\\\\\\n\\\\\\\\tmountain.\\\\\\\\n\\\\\\\\n\\\\\\\\tThat's why I paint - because I can create the kind of world I want - and I\\\\\\\\n\\\\\\\\tcan make this world as happy as I want it. I was blessed with a very steady\\\\\\\\n\\\\\\\\thand; and it comes in very handy when you're doing these little delicate\\\\\\\\n\\\\\\\\tthings. We'll paint one happy little tree right here. These things happen\\\\\\\\n\\\\\\\\tautomatically. All you have to do is just let them happen.\\\\\\\\n\\\\\\\\n\\\\\\\\tYou can do anything here - the only pre-requisite is that it makes you\\\\\\\\n\\\\\\\\thappy. I'm going to mix up a little color. We’ll use Van Dyke Brown,\\\\\\\\n\\\\\\\\tPermanent Red, and a little bit of Prussian Blue. Let's make some happy\\\\\\\\n\\\\\\\\tlittle clouds in our world.\\\\\\\\n\\\\\\\\n\\\\\\\\tWork on one thing at a time. Don't get carried away - we have plenty of\\\\\\\\n\\\\\\\\ttime. Everything is happy if you choose to make it that way. Happy\\\\\\\\n\\\\\\\\tpainting, God bless. You can create anything that makes you happy. Just\\\\\\\\n\\\\\\\\tmake a decision and let it go. Nice little clouds playing around in the\\\\\\\\n\\\\\\\\tsky.\\\\\\\\n\\\\\\\\n\\\\\\\\tAnytime you learn something your time and energy are not wasted. Van Dyke\\\\\\\\n\\\\\\\\tBrown is a very nice brown, it's almost like a chocolate brown. It's\\\\\\\\n\\\\\\\\timportant to me that you're happy. In nature, dead trees are just as normal\\\\\\\\n\\\\\\\\tas live trees. Painting should do one thing. It should put happiness in\\\\\\\\n\\\\\\\\tyour heart.\\\\\\\\n\\\\\\\\n\\\\\\\\tThere is immense joy in just watching - watching all the little creatures\\\\\\\\n\\\\\\\\tin nature. I'll go over the colors one more time that we use: Titanium\\\\\\\\n\\\\\\\\twhite, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap\\\\\\\\n\\\\\\\\tgreen, Cad yellow, and Permanent red. If you don't like it - change it.\\\\\\\\n\\\\\\\\tIt's your world. Be brave. Sometimes you learn more from your mistakes than\\\\\\\\n\\\\\\\\tyou do from your masterpieces.\\\\\"});\n//# sourceMappingURL=raw.umd.js.map\n\"\n`;\n\nexports[`fixtures build shebang with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nshebang\n  dist\n    shebang.esm.mjs\n    shebang.esm.mjs.map\n    shebang.js\n    shebang.js.map\n    shebang.umd.js\n    shebang.umd.js.map\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"shebang\\\\\" to dist:\n85 B: shebang.js.gz\n62 B: shebang.js.br\n89 B: shebang.esm.mjs.gz\n70 B: shebang.esm.mjs.br\n183 B: shebang.umd.js.gz\n145 B: shebang.umd.js.br\"\n`;\n\nexports[`fixtures build shebang with microbundle 2`] = `6`;\n\nexports[`fixtures build shebang with microbundle 3`] = `\n\"#!/usr/bin/env node\nfunction o(){return\\\\\"hello world\\\\\"}export{o as foo};\n//# sourceMappingURL=shebang.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build shebang with microbundle 4`] = `\n\"#!/usr/bin/env node\nexports.foo=function(){return\\\\\"hello world\\\\\"};\n//# sourceMappingURL=shebang.js.map\n\"\n`;\n\nexports[`fixtures build shebang with microbundle 5`] = `\n\"#!/usr/bin/env node\n!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?o(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],o):o((e||self).shebang={})}(this,function(e){e.foo=function(){return\\\\\"hello world\\\\\"}});\n//# sourceMappingURL=shebang.umd.js.map\n\"\n`;\n\nexports[`fixtures build terser-annotations with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nterser-annotations\n  dist\n    terser-annotations.esm.mjs\n    terser-annotations.esm.mjs.map\n    terser-annotations.js\n    terser-annotations.js.map\n    terser-annotations.umd.js\n    terser-annotations.umd.js.map\n  mangle.json\n  package.json\n  src\n    index.js\n\n\nBuild \\\\\"terser-annotations\\\\\" to dist:\n133 B: terser-annotations.js.gz\n104 B: terser-annotations.js.br\n138 B: terser-annotations.esm.mjs.gz\n97 B: terser-annotations.esm.mjs.br\n224 B: terser-annotations.umd.js.gz\n169 B: terser-annotations.umd.js.br\"\n`;\n\nexports[`fixtures build terser-annotations with microbundle 2`] = `6`;\n\nexports[`fixtures build terser-annotations with microbundle 3`] = `\n\"function shouldBePreserved(e,n){return e-n}function main(e,n){return{inlined:/*@__INLINE__*/function(e,n){return e+n}(e,n),preserved:/*@__NOINLINE__*/shouldBePreserved(e,n)}}export default main;\n//# sourceMappingURL=terser-annotations.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build terser-annotations with microbundle 4`] = `\n\"function shouldBePreserved(e,r){return e-r}module.exports=function(e,r){return{inlined:/*@__INLINE__*/function(e,r){return e+r}(e,r),preserved:/*@__NOINLINE__*/shouldBePreserved(e,r)}};\n//# sourceMappingURL=terser-annotations.js.map\n\"\n`;\n\nexports[`fixtures build terser-annotations with microbundle 5`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=n():\\\\\"function\\\\\"==typeof define&&define.amd?define(n):(e||self).terserAnnotations=n()}(this,function(){function shouldBePreserved(e,n){return e-n}return function(e,n){return{inlined:/*@__INLINE__*/function(e,n){return e+n}(e,n),preserved:/*@__NOINLINE__*/shouldBePreserved(e,n)}}});\n//# sourceMappingURL=terser-annotations.umd.js.map\n\"\n`;\n\nexports[`fixtures build ts-custom-declaration with microbundle 1`] = `\n\"Used script: microbundle --generateTypes false\n\nDirectory tree:\n\nts-custom-declaration\n  dist\n    index.esm.mjs\n    index.esm.mjs.map\n    index.js\n    index.js.map\n    index.umd.js\n    index.umd.js.map\n  node_modules\n  package.json\n  src\n    index.ts\n  tsconfig.json\n  types\n    index.d.ts\n\n\nBuild \\\\\"ts-custom-declarations\\\\\" to dist:\n55 B: index.js.gz\n33 B: index.js.br\n61 B: index.esm.mjs.gz\n45 B: index.esm.mjs.br\n175 B: index.umd.js.gz\n125 B: index.umd.js.br\"\n`;\n\nexports[`fixtures build ts-custom-declaration with microbundle 2`] = `6`;\n\nexports[`fixtures build ts-custom-declaration with microbundle 3`] = `\n\"function n(){return 42}export{n as foo};\n//# sourceMappingURL=index.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build ts-custom-declaration with microbundle 4`] = `\n\"exports.foo=function(){return 42};\n//# sourceMappingURL=index.js.map\n\"\n`;\n\nexports[`fixtures build ts-custom-declaration with microbundle 5`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?o(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],o):o((e||self).tsCustomDeclarations={})}(this,function(e){e.foo=function(){return 42}});\n//# sourceMappingURL=index.umd.js.map\n\"\n`;\n\nexports[`fixtures build ts-custom-declaration with microbundle 6`] = `1`;\n\nexports[`fixtures build ts-custom-declaration with microbundle 7`] = `\n\"export const foo: () => number;\n\"\n`;\n\nexports[`fixtures build ts-declaration with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nts-declaration\n  dist\n    index.esm.mjs\n    index.esm.mjs.map\n    index.js\n    index.js.map\n    index.umd.js\n    index.umd.js.map\n  node_modules\n  package.json\n  src\n    index.tsx\n  tsconfig.json\n  types\n    index.d.ts\n\n\nBuild \\\\\"ts-declarations\\\\\" to dist:\n55 B: index.js.gz\n33 B: index.js.br\n61 B: index.esm.mjs.gz\n45 B: index.esm.mjs.br\n171 B: index.umd.js.gz\n124 B: index.umd.js.br\"\n`;\n\nexports[`fixtures build ts-declaration with microbundle 2`] = `6`;\n\nexports[`fixtures build ts-declaration with microbundle 3`] = `\n\"function n(){return 42}export{n as foo};\n//# sourceMappingURL=index.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build ts-declaration with microbundle 4`] = `\n\"exports.foo=function(){return 42};\n//# sourceMappingURL=index.js.map\n\"\n`;\n\nexports[`fixtures build ts-declaration with microbundle 5`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?o(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],o):o((e||self).tsDeclarations={})}(this,function(e){e.foo=function(){return 42}});\n//# sourceMappingURL=index.umd.js.map\n\"\n`;\n\nexports[`fixtures build ts-declaration with microbundle 6`] = `1`;\n\nexports[`fixtures build ts-declaration with microbundle 7`] = `\n\"export declare function foo(): number;\n\"\n`;\n\nexports[`fixtures build ts-jsx with microbundle 1`] = `\n\"Used script: microbundle build --jsx 'React.createElement'\n\nDirectory tree:\n\nts-jsx\n  dist\n    index.d.ts\n    ts-jsx.esm.mjs\n    ts-jsx.esm.mjs.map\n    ts-jsx.js\n    ts-jsx.js.map\n    ts-jsx.umd.js\n    ts-jsx.umd.js.map\n  node_modules\n  package.json\n  src\n    index.tsx\n  tsconfig.json\n\n\nBuild \\\\\"ts-jsx\\\\\" to dist:\n130 B: ts-jsx.js.gz\n94 B: ts-jsx.js.br\n131 B: ts-jsx.esm.mjs.gz\n111 B: ts-jsx.esm.mjs.br\n219 B: ts-jsx.umd.js.gz\n176 B: ts-jsx.umd.js.br\"\n`;\n\nexports[`fixtures build ts-jsx with microbundle 2`] = `7`;\n\nexports[`fixtures build ts-jsx with microbundle 3`] = `\n\"export declare const foo: any;\n\"\n`;\n\nexports[`fixtures build ts-jsx with microbundle 4`] = `\n\"var n=function(n,r){return{tag:n,props:r,children:[].slice.call(arguments,2)}}(function(n){return n.children},null,\\\\\"foo\\\\\");export{n as foo};\n//# sourceMappingURL=ts-jsx.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build ts-jsx with microbundle 5`] = `\n\"var n=function(n,r){return{tag:n,props:r,children:[].slice.call(arguments,2)}}(function(n){return n.children},null,\\\\\"foo\\\\\");exports.foo=n;\n//# sourceMappingURL=ts-jsx.js.map\n\"\n`;\n\nexports[`fixtures build ts-jsx with microbundle 6`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?n(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],n):n((e||self).tsJsx={})}(this,function(e){var n=function(e,n){return{tag:e,props:n,children:[].slice.call(arguments,2)}}(function(e){return e.children},null,\\\\\"foo\\\\\");e.foo=n});\n//# sourceMappingURL=ts-jsx.umd.js.map\n\"\n`;\n\nexports[`fixtures build ts-mixed-exports with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nts-mixed-exports\n  dist\n    car.d.ts\n    index.d.ts\n    ts-mixed-exports.esm.mjs\n    ts-mixed-exports.esm.mjs.map\n    ts-mixed-exports.js\n    ts-mixed-exports.js.map\n    ts-mixed-exports.umd.js\n    ts-mixed-exports.umd.js.map\n  node_modules\n  package.json\n  src\n    car.ts\n    index.ts\n  tsconfig.json\n\n\nBuild \\\\\"ts-mixed-exports\\\\\" to dist:\n130 B: ts-mixed-exports.js.gz\n104 B: ts-mixed-exports.js.br\n134 B: ts-mixed-exports.esm.mjs.gz\n118 B: ts-mixed-exports.esm.mjs.br\n228 B: ts-mixed-exports.umd.js.gz\n185 B: ts-mixed-exports.umd.js.br\"\n`;\n\nexports[`fixtures build ts-mixed-exports with microbundle 2`] = `8`;\n\nexports[`fixtures build ts-mixed-exports with microbundle 3`] = `\n\"export interface Driveable {\n    drive(distance: number): boolean;\n}\nexport default class Car implements Driveable {\n    drive(distance: number): boolean;\n}\n\"\n`;\n\nexports[`fixtures build ts-mixed-exports with microbundle 4`] = `\n\"import Car from './car';\ndeclare let Ferrari: Car;\nexport { Car };\nexport default Ferrari;\n\"\n`;\n\nexports[`fixtures build ts-mixed-exports with microbundle 5`] = `\n\"var t=/*#__PURE__*/function(){function t(){}return t.prototype.drive=function(t){return!0},t}(),n=new t;export default n;export{t as Car};\n//# sourceMappingURL=ts-mixed-exports.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build ts-mixed-exports with microbundle 6`] = `\n\"var r=/*#__PURE__*/function(){function r(){}return r.prototype.drive=function(r){return!0},r}(),t=new r;exports.Car=r,exports.default=t;\n//# sourceMappingURL=ts-mixed-exports.js.map\n\"\n`;\n\nexports[`fixtures build ts-mixed-exports with microbundle 7`] = `\n\"!function(e,n){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?n(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],n):n((e||self).tsMixedExports={})}(this,function(e){var n=/*#__PURE__*/function(){function e(){}return e.prototype.drive=function(e){return!0},e}(),t=new n;e.Car=n,e.default=t});\n//# sourceMappingURL=ts-mixed-exports.umd.js.map\n\"\n`;\n\nexports[`fixtures build ts-module with microbundle 1`] = `\n\"Used script: microbundle\n\nDirectory tree:\n\nts-module\n  dist\n    foo.d.ts\n    index.d.ts\n    ts-module.esm.mjs\n    ts-module.esm.mjs.map\n    ts-module.js\n    ts-module.js.map\n    ts-module.umd.js\n    ts-module.umd.js.map\n  node_modules\n  package.json\n  src\n    foo.ts\n    index.ts\n  tsconfig.json\n\n\nBuild \\\\\"ts-module\\\\\" to dist:\n59 B: ts-module.js.gz\n42 B: ts-module.js.br\n65 B: ts-module.esm.mjs.gz\n49 B: ts-module.esm.mjs.br\n167 B: ts-module.umd.js.gz\n127 B: ts-module.umd.js.br\"\n`;\n\nexports[`fixtures build ts-module with microbundle 2`] = `8`;\n\nexports[`fixtures build ts-module with microbundle 3`] = `\n\"export declare function foo(): string;\n\"\n`;\n\nexports[`fixtures build ts-module with microbundle 4`] = `\n\"export declare function foobar(): string;\n\"\n`;\n\nexports[`fixtures build ts-module with microbundle 5`] = `\n\"function o(){return\\\\\"foobar\\\\\"}export{o as foobar};\n//# sourceMappingURL=ts-module.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build ts-module with microbundle 6`] = `\n\"exports.foobar=function(){return\\\\\"foobar\\\\\"};\n//# sourceMappingURL=ts-module.js.map\n\"\n`;\n\nexports[`fixtures build ts-module with microbundle 7`] = `\n\"!function(e,o){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?o(exports):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"exports\\\\\"],o):o((e||self).tsModule={})}(this,function(e){e.foobar=function(){return\\\\\"foobar\\\\\"}});\n//# sourceMappingURL=ts-module.umd.js.map\n\"\n`;\n\nexports[`fixtures build visualizer with microbundle 1`] = `\n\"Used script: microbundle --visualize\n\nDirectory tree:\n\nvisualizer\n  dist\n    visualizer.esm.mjs\n    visualizer.esm.mjs.map\n    visualizer.js\n    visualizer.js.map\n    visualizer.umd.js\n    visualizer.umd.js.map\n  package.json\n  src\n    index.js\n  stats.html\n\n\nBuild \\\\\"visualizer\\\\\" to dist:\n148 B: visualizer.js.gz\n107 B: visualizer.js.br\n79 B: visualizer.esm.mjs.gz\n64 B: visualizer.esm.mjs.br\n231 B: visualizer.umd.js.gz\n195 B: visualizer.umd.js.br\"\n`;\n\nexports[`fixtures build visualizer with microbundle 2`] = `6`;\n\nexports[`fixtures build visualizer with microbundle 3`] = `\n\"import a from\\\\\"camelcase\\\\\";var o=a(\\\\\"foo-bar\\\\\");export default o;\n//# sourceMappingURL=visualizer.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build visualizer with microbundle 4`] = `\n\"function e(e){return e&&\\\\\"object\\\\\"==typeof e&&\\\\\"default\\\\\"in e?e:{default:e}}var t=/*#__PURE__*/e(require(\\\\\"camelcase\\\\\")).default(\\\\\"foo-bar\\\\\");module.exports=t;\n//# sourceMappingURL=visualizer.js.map\n\"\n`;\n\nexports[`fixtures build visualizer with microbundle 5`] = `\n\"!function(e,f){\\\\\"object\\\\\"==typeof exports&&\\\\\"undefined\\\\\"!=typeof module?module.exports=f(require(\\\\\"camelcase\\\\\")):\\\\\"function\\\\\"==typeof define&&define.amd?define([\\\\\"camelcase\\\\\"],f):(e||self).visualizer=f(e.camelcase)}(this,function(e){function f(e){return e&&\\\\\"object\\\\\"==typeof e&&\\\\\"default\\\\\"in e?e:{default:e}}/*#__PURE__*/\nreturn f(e).default(\\\\\"foo-bar\\\\\")});\n//# sourceMappingURL=visualizer.umd.js.map\n\"\n`;\n\nexports[`fixtures build worker-loader with microbundle 1`] = `\n\"Used script: microbundle -f modern,es --workers\n\nDirectory tree:\n\nworker-loader\n  dist\n    worker-35b22e56.js\n    worker-35b22e56.js.map\n    worker-7e1b9921.js\n    worker-7e1b9921.js.map\n    worker-loader.esm.mjs\n    worker-loader.esm.mjs.map\n    worker-loader.modern.mjs\n    worker-loader.modern.mjs.map\n  package-lock.json\n  package.json\n  src\n    bar.js\n    index.js\n    worker.js\n\n\nBuild \\\\\"worker-loader\\\\\" to dist:\n140 B: worker-loader.modern.mjs.gz\n112 B: worker-loader.modern.mjs.br\n63 B: worker-7e1b9921.js.gz\n54 B: worker-7e1b9921.js.br\n150 B: worker-loader.esm.mjs.gz\n123 B: worker-loader.esm.mjs.br\n81 B: worker-35b22e56.js.gz\n66 B: worker-35b22e56.js.br\"\n`;\n\nexports[`fixtures build worker-loader with microbundle 2`] = `8`;\n\nexports[`fixtures build worker-loader with microbundle 3`] = `\n\"self.onmessage=function(e){return self.postMessage(e.data+\\\\\"bar\\\\\")};\n//# sourceMappingURL=worker-35b22e56.js.map\n\"\n`;\n\nexports[`fixtures build worker-loader with microbundle 4`] = `\n\"self.onmessage=s=>self.postMessage(s.data+\\\\\"bar\\\\\");\n//# sourceMappingURL=worker-7e1b9921.js.map\n\"\n`;\n\nexports[`fixtures build worker-loader with microbundle 5`] = `\n\"var e=new Worker(new URL(\\\\\"worker-35b22e56.js\\\\\",import.meta.url),{type:\\\\\"module\\\\\"});e.onmessage=function(e){return\\\\\"foobar\\\\\"===e.data},e.postMessage(\\\\\"foo\\\\\");\n//# sourceMappingURL=worker-loader.esm.mjs.map\n\"\n`;\n\nexports[`fixtures build worker-loader with microbundle 6`] = `\n\"const e=new Worker(new URL(\\\\\"worker-7e1b9921.js\\\\\",import.meta.url),{type:\\\\\"module\\\\\"});e.onmessage=e=>\\\\\"foobar\\\\\"===e.data,e.postMessage(\\\\\"foo\\\\\");\n//# sourceMappingURL=worker-loader.modern.mjs.map\n\"\n`;\n"
  },
  {
    "path": "test/fixtures/alias/package.json",
    "content": "{\n  \"name\": \"alias-mapping\",\n  \"scripts\": {\n    \"build\": \"microbundle --no-sourcemap --alias ./constants=./constants-debug\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/alias/src/constants-debug.js",
    "content": "export const DEBUG = true;\n"
  },
  {
    "path": "test/fixtures/alias/src/constants.js",
    "content": "export const DEBUG = false;\n"
  },
  {
    "path": "test/fixtures/alias/src/index.js",
    "content": "import { DEBUG } from './constants';\nconsole.log('DEBUG should be true: ', DEBUG);\n"
  },
  {
    "path": "test/fixtures/alias-external/package.json",
    "content": "{\n  \"name\": \"alias-external\",\n  \"scripts\": {\n    \"build\": \"microbundle --alias tiny-glob=./colossal-glob.js\"\n  },\n  \"dependencies\": {\n    \"tiny-glob\": \"^0.2.6\",\n    \"lodash.merge\": \"^4.6.2\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/alias-external/src/colossal-glob.js",
    "content": "export default 42;\n"
  },
  {
    "path": "test/fixtures/alias-external/src/index.js",
    "content": "import tinyglob from 'tiny-glob';\nconsole.log(tinyglob);\n"
  },
  {
    "path": "test/fixtures/async-iife-ts/package.json",
    "content": "{\n\t\"name\": \"async-iife-ts\"\n}\n"
  },
  {
    "path": "test/fixtures/async-iife-ts/src/index.ts",
    "content": "(async function() {\n\tconsole.log('foo');\n})();\n"
  },
  {
    "path": "test/fixtures/async-iife-ts/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"baseUrl\": \".\"\n\t},\n\t\"files\": [\"src/index.ts\"]\n}\n"
  },
  {
    "path": "test/fixtures/async-ts/package.json",
    "content": "{\n\t\"name\": \"async-ts\"\n}\n"
  },
  {
    "path": "test/fixtures/async-ts/src/index.ts",
    "content": "export class MyClass {\n\tasync foo() {}\n}\n"
  },
  {
    "path": "test/fixtures/async-ts/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"baseUrl\": \".\"\n\t},\n\t\"files\": [\"src/index.ts\"]\n}\n"
  },
  {
    "path": "test/fixtures/basic/package.json",
    "content": "{\n  \"name\": \"basic-lib\"\n}\n"
  },
  {
    "path": "test/fixtures/basic/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/basic/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/basic-babelrc/.babelrc",
    "content": "{\n\t\"plugins\": [\"@babel/plugin-proposal-throw-expressions\"]\n}\n"
  },
  {
    "path": "test/fixtures/basic-babelrc/package.json",
    "content": "{\n  \"name\": \"basic-babelrc\"\n}\n"
  },
  {
    "path": "test/fixtures/basic-babelrc/src/index.js",
    "content": "function test(param = throw new Error('required!')) {\n\treturn param === true || throw new Error('Falsey!');\n}\n\ntest(true);\ntest(false);\n"
  },
  {
    "path": "test/fixtures/basic-compress-false/package.json",
    "content": "{\n  \"name\": \"basic-compress-false\",\n  \"scripts\": {\n    \"build\": \"microbundle --compress=false\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/basic-compress-false/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/basic-compress-false/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/basic-css/package.json",
    "content": "{\n  \"name\": \"basic-css\"\n}\n"
  },
  {
    "path": "test/fixtures/basic-css/src/index.js",
    "content": "import './two.css';\n\nexport default function () {\n\tconst el = document.createElement('div');\n\tel.className = 'testing';\n\treturn el;\n}\n"
  },
  {
    "path": "test/fixtures/basic-css/src/two.css",
    "content": ".testing {\n\tdisplay: flex;\n\tcolor: red;\n\tbackground: blue;\n}\n"
  },
  {
    "path": "test/fixtures/basic-dashed-external/package.json",
    "content": "{\n  \"name\": \"basic-dashed-external\",\n  \"scripts\": {\n    \"build\": \"microbundle\"\n  },\n  \"dependencies\": {\n    \"tiny-glob\": \"^0.2.6\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/basic-dashed-external/src/index.js",
    "content": "import tinyglob from 'tiny-glob';\nconsole.log(tinyglob);\n\nimport { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/basic-dashed-external/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/basic-flow/.flowconfig",
    "content": ""
  },
  {
    "path": "test/fixtures/basic-flow/package.json",
    "content": "{\n  \"name\": \"basic-lib-flow\"\n}\n"
  },
  {
    "path": "test/fixtures/basic-flow/src/fruits.js",
    "content": "// @flow\nexport type Fruit = 'cherry' | 'banana' | 'raspberry';\n\nexport function mixFruits(fruit1: Fruit, fruit2: Fruit): Array<Fruit> {\n\treturn [fruit1, fruit2];\n}\n"
  },
  {
    "path": "test/fixtures/basic-flow/src/index.js",
    "content": "// @flow\nimport { mixFruits, type Fruit } from './fruits';\n\nconst banana: Fruit = 'banana';\n\nlet milkshake = mixFruits(banana, 'raspberry');\n\nexport default milkshake;\n"
  },
  {
    "path": "test/fixtures/basic-json/package.json",
    "content": "{\n  \"name\": \"basic-json\"\n}\n"
  },
  {
    "path": "test/fixtures/basic-json/src/index.js",
    "content": "import two from './two.json';\n\nexport default async function (...args) {\n\treturn two;\n}\n"
  },
  {
    "path": "test/fixtures/basic-json/src/two.json",
    "content": "{\n\t\"test\": \"true\"\n}"
  },
  {
    "path": "test/fixtures/basic-multi-source/a.js",
    "content": "console.log('i am a');\n"
  },
  {
    "path": "test/fixtures/basic-multi-source/b.js",
    "content": "console.log('i am b');\n"
  },
  {
    "path": "test/fixtures/basic-multi-source/package.json",
    "content": "{\n  \"name\": \"basic-multi-source\",\n  \"source\":[\n    \"./a.js\",\n    \"./b.js\"\n  ]\n}\n"
  },
  {
    "path": "test/fixtures/basic-multi-source-css/a.css",
    "content": ".a {\n\tdisplay: flex;\n\tcolor: green;\n\tbackground: pink;\n}\n"
  },
  {
    "path": "test/fixtures/basic-multi-source-css/a.js",
    "content": "import './a.css';\n\nexport default function () {\n\tconst el = document.createElement('div');\n\tel.className = 'a';\n\treturn el;\n}\n"
  },
  {
    "path": "test/fixtures/basic-multi-source-css/b.css",
    "content": ".b {\n\tdisplay: flex;\n\tcolor: red;\n\tbackground: blue;\n}\n"
  },
  {
    "path": "test/fixtures/basic-multi-source-css/b.js",
    "content": "import './b.css';\n\nexport default function () {\n\tconst el = document.createElement('div');\n\tel.className = 'b';\n\treturn el;\n}\n"
  },
  {
    "path": "test/fixtures/basic-multi-source-css/package.json",
    "content": "{\n  \"name\": \"basic-multi-source-css\",\n  \"source\":[\n    \"./a.js\",\n    \"./b.js\"\n  ]\n}\n"
  },
  {
    "path": "test/fixtures/basic-no-compress/package.json",
    "content": "{\n  \"name\": \"basic-no-compress\",\n  \"scripts\": {\n    \"build\": \"microbundle --no-compress\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/basic-no-compress/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/basic-no-compress/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/basic-no-pkg-main/package.json",
    "content": "{\n  \"name\": \"basic-no-pkg-main\",\n  \"scripts\": {\n    \"build\": \"microbundle --pkg-main false\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/basic-no-pkg-main/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/basic-no-pkg-main/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/basic-node-internals/package.json",
    "content": "{\n  \"name\": \"basic-node-internals\",\n  \"scripts\": {\n    \"build\": \"microbundle --target=node -f cjs\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/basic-node-internals/src/index.js",
    "content": "import { exec } from 'child_process';\n\nexport function runCommand(cmd) {\n\treturn new Promise((resolve, reject) => {\n\t\texec(cmd, (error, stdout, stderr) => {\n\t\t\tif (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\n\t\t\tresolve(stdout || stderr);\n\t\t});\n\t});\n}\n"
  },
  {
    "path": "test/fixtures/basic-ts/package.json",
    "content": "{\n  \"name\": \"basic-lib-ts\"\n}\n"
  },
  {
    "path": "test/fixtures/basic-ts/src/car.ts",
    "content": "export interface Driveable {\n\tdrive(distance: number): boolean;\n}\n\nexport default class Car implements Driveable {\n\tpublic drive(distance: number): boolean {\n\t\treturn true;\n\t}\n}\n"
  },
  {
    "path": "test/fixtures/basic-ts/src/index.ts",
    "content": "import Car from './car';\n\nlet Ferrari = new Car();\n\nexport default Ferrari;\n"
  },
  {
    "path": "test/fixtures/basic-ts/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"baseUrl\": \".\"\n\t},\n\t\"files\": [\"src/index.ts\"]\n}\n"
  },
  {
    "path": "test/fixtures/basic-tsx/package.json",
    "content": "{\n  \"name\": \"basic-lib-tsx\"\n}\n"
  },
  {
    "path": "test/fixtures/basic-tsx/src/index.tsx",
    "content": "const h = (tag, props, ...children) => ({ tag, props, children });\n\nexport default class Foo {\n\trender() {\n\t\treturn (\n\t\t\t<div id=\"app\">\n\t\t\t\t<h1>Hello, World!</h1>\n\t\t\t\t<p>A JSX demo.</p>\n\t\t\t</div>\n\t\t);\n\t}\n}\n"
  },
  {
    "path": "test/fixtures/basic-tsx/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"jsxFactory\": \"h\",\n\t\t\"jsx\": \"react\",\n\t\t\"baseUrl\": \".\"\n\t},\n\t\"files\": [\"src/index.tsx\"]\n}\n"
  },
  {
    "path": "test/fixtures/basic-with-cwd/basic/package.json",
    "content": "{\n  \"name\": \"basic\"\n}\n"
  },
  {
    "path": "test/fixtures/basic-with-cwd/basic/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/basic-with-cwd/basic/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/basic-with-cwd/package.json",
    "content": "{\n  \"name\": \"basic-with-cwd\",\n  \"scripts\": {\n    \"build\": \"microbundle --cwd ./basic\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/class-decorators-ts/package.json",
    "content": "{\n  \"name\": \"class-decorators-ts\",\n  \"scripts\": {\n    \"build\": \"microbundle --raw\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/class-decorators-ts/src/index.ts",
    "content": "function sealed(constructor: Function) {\n\tObject.seal(constructor);\n\tObject.seal(constructor.prototype);\n}\n\n@sealed\nclass Greeter {\n\tgreeting: string;\n\tconstructor(message: string) {\n\t\tthis.greeting = message;\n\t}\n\tgreet() {\n\t\treturn 'Hello, ' + this.greeting;\n\t}\n}\n\nexport default new Greeter('Hello World');\n"
  },
  {
    "path": "test/fixtures/class-decorators-ts/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"experimentalDecorators\": true,\n\t\t\"baseUrl\": \".\"\n\t},\n\t\"files\": [\"src/index.ts\"]\n}\n"
  },
  {
    "path": "test/fixtures/class-properties/package.json",
    "content": "{\n  \"name\": \"class-properties\"\n}\n"
  },
  {
    "path": "test/fixtures/class-properties/src/index.js",
    "content": "export class Foo {\n\tstatic bar = 2;\n\tbaz = 3;\n}\n\nexport default new Foo();\n"
  },
  {
    "path": "test/fixtures/css-modules--false/package.json",
    "content": "{\n  \"name\": \"css-modules--false\",\n  \"scripts\": {\n    \"build\": \"microbundle --no-sourcemap --css-modules false\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--false/src/index.js",
    "content": "import './not_scoped.css';\nimport './not_scoped.module.css';\n\nexport default function () {}\n"
  },
  {
    "path": "test/fixtures/css-modules--false/src/not_scoped.css",
    "content": "body {\n\tdisplay: flex;\n\tcolor: red;\n\tbackground: blue;\n}\n\n.test_class_that_shouldnt_be_scoped {\n\tbackground-color: blue;\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--false/src/not_scoped.module.css",
    "content": ".not_scoped_class {\n\tcolor: pink;\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--null/package.json",
    "content": "{\n  \"name\": \"css-modules--null\",\n  \"scripts\": {\n    \"build\": \"microbundle --no-sourcemap\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--null/src/index.js",
    "content": "import './not_scoped.css';\nimport scoped from './scoped.module.css';\n\nexport default function () {\n\tconst el = document.createElement('div');\n\tel.className = scoped.scoped_class;\n\treturn el;\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--null/src/not_scoped.css",
    "content": "body {\n\tdisplay: flex;\n\tcolor: red;\n\tbackground: blue;\n}\n\n.test_class_that_shouldnt_be_scoped {\n\tbackground-color: blue;\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--null/src/scoped.module.css",
    "content": ".scoped_class {\n\tcolor: pink;\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--string/package.json",
    "content": "{\n  \"name\": \"css-modules--string\",\n  \"scripts\": {\n    \"build\": \"microbundle --no-sourcemap --css-modules '_contains_this_[hash]'\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--string/src/index.js",
    "content": "import global from './scoped.css';\nimport scoped from './scoped.module.css';\n\nexport default function () {\n\tconst el = document.createElement('div');\n\tel.className =\n\t\tscoped.scoped_class + ' ' + global.test_class_that_should_be_scoped;\n\treturn el;\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--string/src/scoped.css",
    "content": "body {\n\tdisplay: flex;\n\tcolor: red;\n\tbackground: blue;\n}\n\n.test_class_that_should_be_scoped {\n\tbackground-color: blue;\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--string/src/scoped.module.css",
    "content": ".scoped_class {\n\tcolor: pink;\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--true/package.json",
    "content": "{\n  \"name\": \"css-modules--true\",\n  \"scripts\": {\n    \"build\": \"microbundle --no-sourcemap --css-modules true\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--true/src/index.js",
    "content": "import global from './scoped.css';\nimport scoped from './scoped.module.css';\n\nexport default function () {\n\tconst el = document.createElement('div');\n\tel.className =\n\t\tscoped.scoped_class + ' ' + global.test_class_that_should_be_scoped;\n\treturn el;\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--true/src/scoped.css",
    "content": "body {\n\tdisplay: flex;\n\tcolor: red;\n\tbackground: blue;\n}\n\n.test_class_that_should_be_scoped {\n\tbackground-color: blue;\n}\n"
  },
  {
    "path": "test/fixtures/css-modules--true/src/scoped.module.css",
    "content": ".scoped_class {\n\tcolor: pink;\n}\n"
  },
  {
    "path": "test/fixtures/custom-babelrc/.babelrc",
    "content": "{\n\t\"presets\": [\n\t\t[\n\t\t\t\"@babel/preset-env\",\n\t\t\t{\n\t\t\t\t\"loose\": true,\n\t\t\t\t\"modules\": false,\n\t\t\t\t\"useBuiltIns\": \"usage\",\n\t\t\t\t\"corejs\": 2,\n\t\t\t\t\"targets\": {\n\t\t\t\t\t\"esmodules\": true\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t],\n\t\"plugins\": [\n\t\t[\n\t\t\t\"@babel/plugin-proposal-class-properties\",\n\t\t\t{\n\t\t\t\t\"loose\": false\n\t\t\t}\n\t\t]\n\t]\n}\n"
  },
  {
    "path": "test/fixtures/custom-babelrc/package.json",
    "content": "{\n  \"name\": \"custom-babelrc\"\n}\n"
  },
  {
    "path": "test/fixtures/custom-babelrc/src/index.js",
    "content": "export class MyClass {\n\tmyFields = ['foo', 'bar'];\n\tasync foo() {\n\t\treturn this.myFields.find(item => item === 'bar');\n\t}\n}\n"
  },
  {
    "path": "test/fixtures/custom-outputs/package.json",
    "content": "{\n  \"name\": \"custom-outputs\",\n  \"main\": \"dist/custom-outputs.js\",\n  \"umd:main\": \"dist/custom-outputs.umdx.js\",\n  \"module\": \"dist/custom-outputs.modulex.mjs\",\n  \"exports\": \"./dist/custom-outputs.exportsx.mjs\",\n  \"scripts\": {\n    \"build\": \"microbundle -f modern,es,umd,cjs\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/custom-outputs/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/custom-outputs/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/custom-outputs-alt/package.json",
    "content": "{\n  \"name\": \"custom-outputs-alt\",\n  \"cjs:main\": \"dist/custom-outputs-alt.cjsmain.js\",\n  \"unpkg\": \"dist/custom-outputs-alt.unpkg.js\",\n  \"jsnext:main\": \"dist/custom-outputs-alt.jsnextmain.mjs\",\n  \"esmodule\": \"dist/custom-outputs-alt.esmodule.mjs\",\n  \"scripts\": {\n    \"build\": \"microbundle -f modern,es,umd,cjs\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/custom-outputs-alt/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/custom-outputs-alt/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/custom-source/package.json",
    "content": "{\n  \"name\": \"custom-source\",\n  \"source\": \"src/custom-source.js\"\n}\n"
  },
  {
    "path": "test/fixtures/custom-source/src/custom-source.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/custom-source/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/custom-source-with-cwd/custom-source/package.json",
    "content": "{\n  \"name\": \"custom-src\",\n  \"source\": \"src/custom-source.js\"\n}\n"
  },
  {
    "path": "test/fixtures/custom-source-with-cwd/custom-source/src/custom-source.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/custom-source-with-cwd/custom-source/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/custom-source-with-cwd/package.json",
    "content": "{\n  \"name\": \"custom-source-with-cwd\",\n  \"scripts\": {\n    \"build\": \"microbundle --cwd ./custom-source\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/default-named/package.json",
    "content": "{\n  \"name\": \"default-named\"\n}\n"
  },
  {
    "path": "test/fixtures/default-named/src/index.js",
    "content": "export const foo = 42;\nexport default function bar() {}\n"
  },
  {
    "path": "test/fixtures/define/index.js",
    "content": "const DEBUG = true;\nif (DEBUG) {\n\tconsole.log('debug mode', DEBUG);\n} else {\n\tconsole.log('production mode', DEBUG);\n}\n"
  },
  {
    "path": "test/fixtures/define/package.json",
    "content": "{\n  \"name\": \"define\",\n  \"scripts\": {\n    \"build\": \"microbundle --no-sourcemap --define DEBUG=false\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/define-expression/index.js",
    "content": "console.log(Object.freeze({ a: 'b', c: 'd' }));\n"
  },
  {
    "path": "test/fixtures/define-expression/package.json",
    "content": "{\n  \"name\": \"define-expression\",\n  \"scripts\": {\n    \"build\": \"microbundle -f esm --no-sourcemap --define @Object.freeze=Object\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/esnext-ts/package.json",
    "content": "{\n  \"name\": \"esnext-ts\",\n  \"scripts\": {\n    \"build\": \"microbundle --raw\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/esnext-ts/src/index.ts",
    "content": "export default async function foo() {\n\tconst out = [];\n\tfor await (const item of [1, 2]) {\n\t\tout.push(item);\n\t}\n\n\treturn out;\n}\n\nfoo().then(console.log);\n"
  },
  {
    "path": "test/fixtures/esnext-ts/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"baseUrl\": \".\"\n\t},\n\t\"files\": [\"src/index.ts\"]\n}\n"
  },
  {
    "path": "test/fixtures/inline-source-map/package.json",
    "content": "{\n  \"name\": \"inline-source-map\",\n  \"scripts\": {\n    \"build\": \"microbundle --sourcemap inline\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/inline-source-map/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/inline-source-map/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/jsx/index.js",
    "content": "const h = (tag, props, ...children) => ({ tag, props, children });\n// eslint-disable-next-line no-unused-vars\nconst Fragment = ({ children }) => children;\n\nexport default class Foo {\n\trender() {\n\t\treturn (\n\t\t\t<div id=\"app\">\n\t\t\t\t<h1>Hello, World!</h1>\n\t\t\t\t<p>A JSX demo.</p>\n\t\t\t\t<>\n\t\t\t\t\t<p>Test fragment</p>\n\t\t\t\t</>\n\t\t\t</div>\n\t\t);\n\t}\n}\n"
  },
  {
    "path": "test/fixtures/jsx/package.json",
    "content": "{\n  \"name\": \"jsx\"\n}\n"
  },
  {
    "path": "test/fixtures/macro/package.json",
    "content": "{\n  \"name\": \"macro-lib\"\n}\n"
  },
  {
    "path": "test/fixtures/macro/src/index.js",
    "content": "import { macro } from './macro';\n\nconst name = macro();\n\nexport default name;\n"
  },
  {
    "path": "test/fixtures/macro/src/macro.js",
    "content": "import { createMacro } from 'babel-plugin-macros';\n\nfunction myMacro({ references, state, babel }) {\n\tconst { types: t } = babel;\n\n\treferences.macro.forEach(referencePath => {\n\t\tconst parentPath = referencePath.findParent(t.isCallExpression);\n\t\tlet variableName = referencePath.findParent(t.isVariableDeclarator).node.id\n\t\t\t.name;\n\t\tif (\n\t\t\tparentPath.node.arguments.length > 0 &&\n\t\t\tparentPath.node.arguments[0] !== ''\n\t\t) {\n\t\t\tvariableName = parentPath.node.arguments[0].value;\n\t\t}\n\t\tparentPath.replaceWith(t.stringLiteral(`${variableName}-macro`));\n\t});\n}\n\nmodule.exports = createMacro(myMacro);\n"
  },
  {
    "path": "test/fixtures/mangle-json-file/mangle.json",
    "content": "{\n  \"minify\": {\n    \"mangle\": {\n      \"properties\": {\n        \"regex\": \"^_\"\n      }\n    }\n  },\n  \"props\": {\n    \"cname\": 6,\n    \"props\": {\n      \"$_prop2\": \"__p2\"\n    }\n  }\n}"
  },
  {
    "path": "test/fixtures/mangle-json-file/package.json",
    "content": "{\n  \"name\": \"mangle-json-file\"\n}\n"
  },
  {
    "path": "test/fixtures/mangle-json-file/src/index.js",
    "content": "import { two } from './two';\n\nexport default function () {\n\tconsole.log(two.prop1);\n\tconsole.log(two._prop2);\n\treturn two;\n}\n"
  },
  {
    "path": "test/fixtures/mangle-json-file/src/two.js",
    "content": "export const two = {\n\tprop1: 1,\n\t_prop2: 2,\n};\n"
  },
  {
    "path": "test/fixtures/minify-config/package.json",
    "content": "{\n  \"name\": \"minify-config\",\n  \"minify\": {\n    \"mangle\": {\n      \"properties\": {\n        \"regex\": \"^_\"\n      }\n    }\n  }\n}\n"
  },
  {
    "path": "test/fixtures/minify-config/src/index.js",
    "content": "import { two } from './two';\n\nexport default function () {\n\tconsole.log(two.prop1);\n\tconsole.log(two._prop2);\n\treturn two;\n}\n"
  },
  {
    "path": "test/fixtures/minify-config/src/two.js",
    "content": "export const two = {\n\tprop1: 1,\n\t_prop2: 2,\n};\n"
  },
  {
    "path": "test/fixtures/minify-config-boolean/package.json",
    "content": "{\n  \"name\": \"minify-config-boolean\",\n  \"minify\": {\n    \"compress\": true,\n    \"mangle\": false\n  }\n}\n"
  },
  {
    "path": "test/fixtures/minify-config-boolean/src/index.js",
    "content": "import { two } from './two';\n\nexport default function () {\n\tconsole.log(two.prop1);\n\tconsole.log(two._prop2);\n\treturn two;\n}\n"
  },
  {
    "path": "test/fixtures/minify-config-boolean/src/two.js",
    "content": "export const two = {\n\tprop1: 1,\n\t_prop2: 2,\n};\n"
  },
  {
    "path": "test/fixtures/minify-path-config/minify.json",
    "content": "{\n  \"minify\": {\n    \"mangle\": {\n      \"properties\": {\n        \"regex\": \"^_\"\n      }\n    }\n  },\n  \"props\": {\n    \"cname\": 6,\n    \"props\": {\n      \"$_prop2\": \"__p2\"\n    }\n  }\n}"
  },
  {
    "path": "test/fixtures/minify-path-config/package.json",
    "content": "{\n  \"name\": \"minify-path-config\",\n  \"minify\": \"./minify.json\"\n}\n"
  },
  {
    "path": "test/fixtures/minify-path-config/src/index.js",
    "content": "import { two } from './two';\n\nexport default function () {\n\tconsole.log(two.prop1);\n\tconsole.log(two._prop2);\n\treturn two;\n}\n"
  },
  {
    "path": "test/fixtures/minify-path-config/src/two.js",
    "content": "export const two = {\n\tprop1: 1,\n\t_prop2: 2,\n};\n"
  },
  {
    "path": "test/fixtures/minify-path-parent-dir-with-cwd/minify-path-parent-dir/index.js",
    "content": "import { two } from './two';\n\nexport default function () {\n\tconsole.log(two.prop1);\n\tconsole.log(two._prop2);\n\treturn two;\n}\n"
  },
  {
    "path": "test/fixtures/minify-path-parent-dir-with-cwd/minify-path-parent-dir/package.json",
    "content": "{\n  \"name\": \"minify-path-parent-dir\",\n  \"minify\": \"../minify.json\"\n}\n"
  },
  {
    "path": "test/fixtures/minify-path-parent-dir-with-cwd/minify-path-parent-dir/two.js",
    "content": "export const two = {\n\tprop1: 1,\n\t_prop2: 2,\n};\n"
  },
  {
    "path": "test/fixtures/minify-path-parent-dir-with-cwd/minify.json",
    "content": "{\n  \"minify\": {\n    \"mangle\": {\n      \"properties\": {\n        \"regex\": \"^_\"\n      }\n    }\n  },\n  \"props\": {\n    \"cname\": 6,\n    \"props\": {\n      \"$_prop2\": \"__p2\"\n    }\n  }\n}"
  },
  {
    "path": "test/fixtures/minify-path-parent-dir-with-cwd/package.json",
    "content": "{\n  \"name\": \"minify-path-parent-dir-with-cwd\",\n  \"scripts\": {\n    \"build\": \"microbundle --cwd ./minify-path-parent-dir\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/modern/package.json",
    "content": "{\n  \"name\": \"modern-lib\",\n  \"scripts\": {\n    \"build\": \"microbundle -f modern\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/modern/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/modern/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/modern-generators/package.json",
    "content": "{\n  \"name\": \"modern-generators\",\n  \"scripts\": {\n    \"build\": \"microbundle -f modern,es,umd,cjs\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/modern-generators/src/index.js",
    "content": "import { idMaker } from './two';\n\nexport default async function () {\n\tconst gen = idMaker();\n\treturn [gen.next().value, gen.next().value];\n}\n"
  },
  {
    "path": "test/fixtures/modern-generators/src/two.js",
    "content": "export function* idMaker() {\n\tlet index = 0;\n\twhile (true) yield index++;\n}\n"
  },
  {
    "path": "test/fixtures/name-custom-amd/package.json",
    "content": "{\n  \"name\": \"name-custom-amd\",\n  \"amdName\": \"customNameAmd\"\n}\n"
  },
  {
    "path": "test/fixtures/name-custom-amd/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/name-custom-amd/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/name-custom-cli/package.json",
    "content": "{\n  \"name\": \"name-custom\",\n  \"scripts\": {\n    \"build\": \"microbundle --name nameCustomCli\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/name-custom-cli/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/name-custom-cli/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/no-pkg/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/no-pkg/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/no-pkg-name/package.json",
    "content": "{}\n"
  },
  {
    "path": "test/fixtures/no-pkg-name/src/index.js",
    "content": "import { two } from './two';\n\nexport default async function (...args) {\n\treturn [await two(...args), await two(...args)];\n}\n"
  },
  {
    "path": "test/fixtures/no-pkg-name/src/two.js",
    "content": "export async function two(...args) {\n\treturn args.reduce((total, value) => total + value, 0);\n}\n"
  },
  {
    "path": "test/fixtures/optional-chaining-ts/package.json",
    "content": "{\n  \"name\": \"optional-chaining-ts\"\n}\n"
  },
  {
    "path": "test/fixtures/optional-chaining-ts/src/index.ts",
    "content": "export function chain(test: {\n\tmaybeVar?: { thing: string };\n}): string | undefined {\n\treturn test.maybeVar?.thing ?? undefined;\n}\n"
  },
  {
    "path": "test/fixtures/optional-chaining-ts/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"baseUrl\": \".\"\n\t},\n\t\"files\": [\"src/index.ts\"]\n}\n"
  },
  {
    "path": "test/fixtures/parameters-rest-closure/package.json",
    "content": "{\n  \"name\": \"parameters-rest-closure\"\n}\n"
  },
  {
    "path": "test/fixtures/parameters-rest-closure/src/index.js",
    "content": "export function parametersRestWithClosure(fn, ...args) {\n\treturn function () {\n\t\tfn(...args);\n\t};\n}\n\nexport function parametersRestWithInnerArrowFunction(fn, ...args) {\n\treturn () => {\n\t\tfn(...args);\n\t};\n}\n"
  },
  {
    "path": "test/fixtures/pretty/package.json",
    "content": "{\n  \"name\": \"pretty\"\n}\n"
  },
  {
    "path": "test/fixtures/pretty/src/index.js",
    "content": "export const allTheIpsum = `\n\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\nmistakes than you do from your masterpieces.\n\nTrees grow in all kinds of ways. They're not all perfectly straight. Not every limb is perfect. Now let's put some happy\nlittle clouds in here. We have no limits to our world. We're only limited by our imagination. The first step to doing\nanything is to believe you can do it. See it finished in your mind before you ever start. Even trees need a friend. We\nall need friends. And that's when it becomes fun - you don't have to spend your time thinking about what's happening -\nyou just let it happen.\n\nरिती संपादक बेंगलूर अन्तरराष्ट्रीयकरन शीघ्र भाषा चिदंश उद्योग विस्तरणक्षमता चिदंश एकएस तरहथा। प्रोत्साहित उपेक्ष बिन्दुओ\nध्येय देने गुजरना ऎसाजीस निर्माण नवंबर लिए। एसेएवं उपलब्धता मुश्किले डाले। बहतर सहायता माध्यम भाषाओ समूह\n\n井待品亡写回横提和指生志考結。重特天県偏切運録広詳三人転者数代歳。秀天戦機広八型希金生作事国第。年米教止証車断級弘報安楽\n銀必約現獲料切。点額講問課覧傷邸出送跡出懲。編米人験由社迷入解公著片法記択昇必崎掲清。摩出元自越食多県実間旅売主注理併間\n話策。小政退時年福米越給新家入解美露方堀港朝。俊間髪物縦該高報見甲購形州日事。\n\n🌸🍂🌃🐧🍘🏧🍮 🌶👢🔗🐥🔼🎮 🐤🍲📆👧🎼🐒 💑🍖📴🐠🍼 🎱🔮🍦💳👹 💫🏮📅🍑📭🎎 🏭💿🏫🔢👚💩 👇🌄🌗🔵💦 🔺🔡🌍🐗🏀📫\n📻🍵🐰🔜🕧 🌴🌞🕙🎨🎾🔊🏰 🎑🌆🔁🌂 🕐📣📉🌴🕠📢 🎀📖🎋🔱📒💰 🍅🐻🌃🌖. 🎁🕔👎🎷📀📞 🍁🔫🍀🌃📹 💈📂💶👕 🍡📰👛🐻\n🍖🐽💫📼 🍆🎀💛👫🔹 🎷🕙🌱👸🕁🔝 🍸🔅👿🐡. 🐟🔐🏡🔅👾 🐱💱👺🍶 🎠🔆🎤🏥🌻🗾 👽🎯💈🏣🔊📴💆🏫 🔉🌉🍃🌻 🎅🔌🔻💣 🌸🍎🐀🌇\n🗻👔📤💤🔶. 🍆👣🕕👦📦👑 🐍🐉🔶🕕 🍲👩🍍🌕📻👒📵 🔣🌋🌟👼 🔏📀🐆🍖🍮 🐁🌘🐻🏥🐡🔶🔘🏭 👡🔫🔗📊📻 🍂💧🌿📥🔚 📹💻🔌💠🌚\n🐦💴🌎🌞🏤.\n\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\nmistakes than you do from your masterpieces. That's why I paint - because I can create the kind of world I want - and I\ncan make this world as happy as I want it. I was blessed with a very steady hand; and it comes in very handy when you're\ndoing these little delicate things. We'll paint one happy little tree right here. These things happen automatically. All\nyou have to do is just let them happen.\n\n🐻🍘💀🐪 🕧🎂🕃🍵🏠 💎🌄🐐📘🐄 🍂🏤👊🍖 👆🍂📫👪🐈🕢👓 👯🕞🏉🍚🎆🔠🌵 🎭🎎💵📮📭 🔪💨📢📕 🐔📬👪🏄🐙🗽📤.\n💛👴💧🎁👗💟👡💎 🎷🕡👮🗾🍷 🎪🍇🍩💰 📫🐗🎄🍍🎃 🎯🌴🐍🔉📰 👼👧🐢🕔🔷📞🍩 🔘👑🌆🌒🔣 🔆👺📴👾 🔝💑💸💒🏡🔸 🔟👞📷🔱👠\n📵🏠📕🕝🐂👪 💐🎾🕁🗾👊📪. 🍉🏁👰🏡🕔💒🐯 🐟🍡📴🌿👱👢 📵💄🌊🌵🐫🍏 🎎🕠🍍💭💀👖 🎵💘🔗🍖 📧🌘🍅🕚📘🔮 👤🌾👿🐍🎽🌹\n🎲🎎💅📪🐐🍢📈 🏣🐑👇👼🐄🍔 🍠📧🌊🕁🔛🐩. 🌺📊🍼🐁💼 🔈💬🌱🎑🔊🐙💲👩 🍇👞📎👻🌔 💑🕁🎲💤 🎮📃🕖📖 📻💬🔢💔🐇👬 🔨🌃📈🔞\n🌒🎈👙🔥🐊 📭👍📢👊📟.\n\n出死問民同歴術荘面族上自。窃指写氷名続球投込光試事樹増。作合副者扶実権守安展感意環待質出。告供体企紙勢構込君奪属仕子業戦\n浮私。長論攻士踊再連公雪地約政近第公。界地島命党浮国沼出問気混心未独院。朝原妙画岡性制領子金次問無浦妥混口時研。道記険健\n集立根聖間前設集族山要本覧。変注再悩式付療場図験問県家界月止収文。\n\nलेकिन उसके संपादक उपलब्ध दिनांक प्रति सम्पर्क प्राधिकरन नाकर मुक्त कलइस वेबजाल वर्तमान समस्याओ देखने भोगोलिक केन्द्रिय\nकिया खयालात विज्ञान ध्येय गटको साधन चिदंश पासपाई व्याख्या मार्गदर्शन संदेश जिवन प्रतिबध वार्तालाप किके विश्व खरिदने\nहुआआदी तकनीकी संदेश सारांश असरकारक वार्तालाप चाहे पहोच। अतित पुर्णता केन्द्रिय\n\n👅💾🐂🔙 🐂🎠👶🐮🐛 👛💗💶🌿💒 🐐🌱🐶🌴🏤🐒 🔪🍡🎸🐛🍖 📗🎓🏊🕀🎿 🔅📋📥👳🔝 🐗👝🏄🐲 📂🎷🐎🏯💎🐹 📲🍍🏥🔂🕚🐉🎤\n🌕🐴📐🎪💋. 💔👂🐗📷🎐 🌹📔💒📝👎📭 🔖🍶💺🕘 🔡💘🎪🔚🔯👉 💯🎉👠🎁🐌💵 👌🔉🎹🕒💕🍁 🏡🍢🔹🔷👀💦🏉👀 👑🐺🐁🏤\n🎺🍁🐙🐮🌃🕢🐟 🍶🎃🕕🔦 🐧🔝💔💚🔫👍 🌉🔁🌄📺 👓🎳📧🌆💖🍋🕔. 🍥🔘🗼📟 🍹🔸🔰🕣🌍 🏡💽🍬👗👧 📩👬🌻🐐🌞🌎🐵🔛 🏆🌹🍰🔬📕\n👋🎩🍓🌏👙 🎁🏃🎌🍳🔋👎📔 🐈🌽🔘💮 🏬🐷💿🕕. 📕👖📦📡 🎅🎺🏭🍗💜💷🐦 💻💚🐪🕠🔀 💰🍹💶🍶🎥📄 🌛👕🐲🐣🍷🎬 🐥🎯🔵🎹\n🌿👌🐚🍛🏪 🌵📞💃📗👱👩 📟🐸🌺🐅👮 💚🐦💉💞🌛 🔼🔤👓🏡💩.\n\n\nयधपि बाजार तकरीबन आंतरजाल प्राधिकरन लगती संदेश एसलिये बिन्दुओ प्रोत्साहित जानकारी ढांचामात्रुभाषा बाजार बदले प्रमान\nअनुवाद विकेन्द्रित पसंद ढांचा हमारि जोवे उद्योग संस्थान और्४५० विकसित उदेश लेकिन सकती वार्तालाप लाभान्वित संदेश उदेश\nपहोच। लचकनहि अनुवाद सुविधा एकत्रित कीने सक्षम भीयह अत्यंत लचकनहि निरपेक्ष कराना हमारि प्राप्त पुर्णता प्रतिबध्दता होगा\nउन्हे जाएन खयालात पहोचाना\n\n散待望会窮縮囲前賀理格顔欧製暮景初子加。首稿覧析回未帯則号医間本取退埋帯品。右歳約幻病護指極講賞京応。野受移供頑特公却報\n法利務水提士政駐物際。角媛分地昧況面日残金真福方雨入顔作化。最刊情感売校見強移本説注辞。経必好以小球生音明優去験見政感治\n報付。講刊切記勝帯載豪著転読金止。金子森午模移言兆埠関価亡出目載。\n\nWork on one thing at a time. Don't get carried away - we have plenty of time. Everything is happy if you choose to make\nit that way. Happy painting, God bless. You can create anything that makes you happy. Just make a decision and let it\ngo. Nice little clouds playing around in the sky.You can do anything here - the only pre-requisite is that it makes you\nhappy. I'm going to mix up a little color. We’ll use Van Dyke Brown, Permanent Red, and a little bit of Prussian Blue.\nLet's make some happy little clouds in our world.\n\nपहेला गएआप स्वतंत्र प्राधिकरन सेऔर अनुकूल ब्रौशर बिन्दुओमे सदस्य गुजरना तकनिकल वैश्विक सकते बनाति चिदंश चाहे कुशलता\nवर्तमान प्रोत्साहित देने विवरन पहोचाना विकेन्द्रियकरण अनुकूल विभाजनक्षमता औषधिक अन्य खरिदे दिये आवश्यक समस्याए कम्प्युटर\nविनिमय अविरोधता लाभान्वित लाभो ढांचा\n\n抄聞調時得直決移警撃覧進聞滑公政央。日探劇票選伊追短青功書更将奈府成多。味治理育月漬安意散護良読京。芳豚大度面傾府山応著\n器地捜志。止高棋戻管明証経処流自勝動続。装載聞視属王減通橋説主費事業情芸。追若得本臭稿事馬予治川劇覧記今竹犯破育食。参兆\n徹括単写東家素講舞校食医咋存務代連子。球設国事検問周東集題聞供奈。\n\n🍊🌆📛🍛🌊🍡🍒 🔦🐟🐵🍚🌐🍛🐏 🔆💍📟🎧 🔐📤💺🐒 🔥🔬🐣💹🌻👚 🎰👯🎡🗻💯🐉🌗 🍐👣🐯🔖📚 💡📟👨🍮🍼💛📞 🕕🐁🌾🏧💻📷\n💗🐢🏥🎵🐰🍉 🏥🔎💛💘🔧🍛🎿 🍟🌰🐴🏫🎀 🎷🌿🌴🏤🍢📳🍺 🐗👷🌳👦📩🌁 🐂🔜🔙📕. 🌎🍠📓📠🕡 🎽🔺🔱🌔📗🎤 🎫🍃👚🍤🐽🌰\n🕠🌉📪🍒🐃💲 🎢🔯👶🔙🔚🕝 🍮📒🏉🏨🐝🌿 👔💫🏁🎺 🐸💞🌈🐸 📣🔯📅🐍🐴 🌑🌍🌛👀 🕂👟🐕📃🎇🔞 🍮🔏🍥👨 🐪📲🐐🎁 🍥🔁📑💮🌘.\n🌏🎎🍛👯 🔈🎸💨🏧📚 🏪💼🎣🔚 🐤💳💁👓 👃🍆🕘🐋👬🐣 🕚🏃🌄🔷🌈🔖 💥💧🔴🌛🍁👦 💣🐐🕓🎠🕚🕞🏭 💨👓🏢🌓🔄. 📪🔜💹👤👂🐭\n🕚🔎🐂🏂👍📻 👾💠🌕📻🎍 🐟🔬🏢💍 👓👠👤🎐💸👝 🔟💕🕛💊 🍩🌙👬🐘 🍪🔙📉💔🐝🕝 📭🕡🎼💈📇🔡 👓🍁🎾👯👨 🏇🍱🐢🌛\n🎇🐩📴🎋🕁📎🎈 🐌👱📎🍹👆 👐🍐📗👽🐹💜 📭🌔🌅🍯👀.\n\n🔜🐰🏊🍃🐮 🔪🔐📇🐩 🐬👔🍙🍩💉 🏉👩👔🍞🍟🌂 🍺🕔🌖🔪🔩🍥 🎓🍒🌅🐘💛 🐔🐊📶🐊 👂📌👂🍺 💗🐳🎠📧🏭💧 🐝📅🍆🔞🏆\n👇🔂🐺🔬🎯🔳🎐🎍 💖💅🐲🔭📔🏊🔋 🐨📫🕢🎁. 🐯💁🔘📰🐪 💥👭🍘🎴📣💂💄 🐏🔊🐚👔🎿🐙 🔕🐞💹📁 🔊👴👬👪 👠📱👃📍 🏢🐃🍯🍹🗻\n🐩💮👲👠 🍏🎽📄🐋 🔣💉🔉📒💸🎭👎 💁🗾🔵🐪🍣 🍃🔝💥🔒👴. 📦🔟🔶💷🍥 🍚🕤👦🍻🔥🍹 👄🌜🐑🌀🐃🔪🕦 🌟🐶🍞🕥🌛 👮🐄🏬🎴👂💼📵\n🌋📐🐲👥 🔒🏭🔭💿🎫🎄 💓🐓🎐🎁👔📟 💌🍇🎶👷🎬 🌌💀🎸💡 📔🐢💁🔊👘🐳🌞 🎩📝💟🍼💦🔄 🕒🍼🏧🎄🔃💐. 🎆🌜👗👿 🐁🌑💮👙🎌👞\n🏫📙🌌🕙🐥 👓🌑💎💸📹📒 👋🐎🍡🎾👸🗽 📢📓🌍🏮📳🔈 👶🐷🐭🎿🔴🗾🏬 🌆🔈🍡💞💭🎨. `;\n"
  },
  {
    "path": "test/fixtures/publish-config/package.json",
    "content": "{\n  \"name\": \"publish-config\",\n  \"main\": \"src/foo.ts\",\n  \"publishConfig\": {\n    \"source\": \"src/foo.ts\",\n    \"main\": \"dist/bar.js\"\n  },\n  \"scripts\": {\n    \"build\": \"microbundle -f cjs\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/publish-config/src/foo.ts",
    "content": "export function foo() {\n\treturn 42;\n}\n"
  },
  {
    "path": "test/fixtures/pure/package.json",
    "content": "{\n  \"name\": \"pure\"\n}\n"
  },
  {
    "path": "test/fixtures/pure/src/index.js",
    "content": "// this is currently broken because of a bug in terser\n// https://github.com/terser-js/terser/issues/353\n/** @__PURE__ */\nexport function foo() {\n\treturn 'hello world';\n}\n"
  },
  {
    "path": "test/fixtures/raw/package.json",
    "content": "{\n  \"name\": \"raw\",\n  \"scripts\": {\n    \"build\": \"microbundle --raw\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/raw/src/index.js",
    "content": "export const OneKilobyteOfBobRoss = `\n\tWe might as well make some Almighty mountains today as well, what the heck.\n\tIn your imagination you can go anywhere you want. Nice little fluffy clouds\n\tlaying around in the sky being lazy. You have to make those little noises or\n\tit won't work. Clouds are free they come and go as they please.\n\n\tTrees grow in all kinds of ways. They're not all perfectly straight. Not\n\tevery limb is perfect. Now let's put some happy little clouds in here. We\n\thave no limits to our world. We're only limited by our imagination. The\n\tfirst step to doing anything is to believe you can do it. See it finished\n\tin your mind before you ever start. Even trees need a friend. We all need\n\tfriends. And that's when it becomes fun - you don't have to spend your\n\ttime thinking about what's happening - you just let it happen.\n\n\tI thought today we would do a happy little picture. We don't have to be\n\tconcerned about it. We just have to let it fall where it will. I'm gonna\n\tstart with a little Alizarin crimson and a touch of Prussian blue Be so\n\tvery light. Be a gentle whisper. The only prerequisite is that it makes\n\tyou happy. If it makes you happy then it's good. This is truly an almighty\n\tmountain.\n\n\tThat's why I paint - because I can create the kind of world I want - and I\n\tcan make this world as happy as I want it. I was blessed with a very steady\n\thand; and it comes in very handy when you're doing these little delicate\n\tthings. We'll paint one happy little tree right here. These things happen\n\tautomatically. All you have to do is just let them happen.\n\n\tYou can do anything here - the only pre-requisite is that it makes you\n\thappy. I'm going to mix up a little color. We’ll use Van Dyke Brown,\n\tPermanent Red, and a little bit of Prussian Blue. Let's make some happy\n\tlittle clouds in our world.\n\n\tWork on one thing at a time. Don't get carried away - we have plenty of\n\ttime. Everything is happy if you choose to make it that way. Happy\n\tpainting, God bless. You can create anything that makes you happy. Just\n\tmake a decision and let it go. Nice little clouds playing around in the\n\tsky.\n\n\tAnytime you learn something your time and energy are not wasted. Van Dyke\n\tBrown is a very nice brown, it's almost like a chocolate brown. It's\n\timportant to me that you're happy. In nature, dead trees are just as normal\n\tas live trees. Painting should do one thing. It should put happiness in\n\tyour heart.\n\n\tThere is immense joy in just watching - watching all the little creatures\n\tin nature. I'll go over the colors one more time that we use: Titanium\n\twhite, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap\n\tgreen, Cad yellow, and Permanent red. If you don't like it - change it.\n\tIt's your world. Be brave. Sometimes you learn more from your mistakes than\n\tyou do from your masterpieces.`;\n"
  },
  {
    "path": "test/fixtures/shebang/package.json",
    "content": "{\n  \"name\": \"shebang\"\n}\n"
  },
  {
    "path": "test/fixtures/shebang/src/index.js",
    "content": "#!/usr/bin/env node\n\nexport function foo() {\n\treturn 'hello world';\n}\n"
  },
  {
    "path": "test/fixtures/terser-annotations/mangle.json",
    "content": "{\n  \"minify\": {\n    \"mangle\": {\n      \"keep_fnames\": true\n    }\n  }\n}"
  },
  {
    "path": "test/fixtures/terser-annotations/package.json",
    "content": "{\n  \"name\": \"terser-annotations\"\n}\n"
  },
  {
    "path": "test/fixtures/terser-annotations/src/index.js",
    "content": "function shouldBeInlined(a, b) {\n\treturn a + b;\n}\n\nfunction shouldBePreserved(a, b) {\n\treturn a - b;\n}\n\nexport default function main(a, b) {\n\tconst inlined = /*@__INLINE__*/ shouldBeInlined(a, b);\n\tconst preserved = /*@__NOINLINE__*/ shouldBePreserved(a, b);\n\treturn { inlined, preserved };\n}\n"
  },
  {
    "path": "test/fixtures/ts-custom-declaration/package.json",
    "content": "{\n\t\"name\": \"ts-custom-declarations\",\n\t\"main\": \"dist/index.js\",\n\t\"types\": \"types/index.d.ts\",\n\t\"source\": \"src/index.ts\",\n  \"scripts\": {\n    \"build\": \"microbundle --generateTypes false\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/ts-custom-declaration/src/index.ts",
    "content": "export function foo() {\n\treturn 42;\n}\n"
  },
  {
    "path": "test/fixtures/ts-custom-declaration/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"noEmit\": true,\n\t\t\"allowJs\": true\n\t}\n}\n"
  },
  {
    "path": "test/fixtures/ts-custom-declaration/types/index.d.ts",
    "content": "export const foo: () => number;\n"
  },
  {
    "path": "test/fixtures/ts-declaration/package.json",
    "content": "{\n\t\"name\": \"ts-declarations\",\n\t\"main\": \"dist/index.js\",\n\t\"types\": \"types/index.d.ts\",\n\t\"source\": \"src/index.tsx\"\n}\n"
  },
  {
    "path": "test/fixtures/ts-declaration/src/index.tsx",
    "content": "export function foo() {\n\treturn 42;\n}\n"
  },
  {
    "path": "test/fixtures/ts-declaration/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"noEmit\": true,\n\t\t\"allowJs\": true\n\t}\n}\n"
  },
  {
    "path": "test/fixtures/ts-declaration/types/index.d.ts",
    "content": "export declare function foo(): number;\r\n"
  },
  {
    "path": "test/fixtures/ts-jsx/package.json",
    "content": "{\n\t\"name\": \"ts-jsx\",\n\t\"source\": \"src/index.tsx\",\n\t\"scripts\": {\n\t\t\"build\": \"microbundle build --jsx 'React.createElement'\"\n\t}\n}\n"
  },
  {
    "path": "test/fixtures/ts-jsx/src/index.tsx",
    "content": "const createElement = (tag, props, ...children) => ({ tag, props, children });\n// eslint-disable-next-line no-unused-vars\nconst Fragment = ({ children }) => children;\n\nconst React = {\n\tcreateElement,\n\tFragment,\n};\n\nexport const foo = <>foo</>;\n"
  },
  {
    "path": "test/fixtures/ts-jsx/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"jsx\": \"react\"\n\t}\n}\n"
  },
  {
    "path": "test/fixtures/ts-mixed-exports/package.json",
    "content": "{\n  \"name\": \"ts-mixed-exports\"\n}\n"
  },
  {
    "path": "test/fixtures/ts-mixed-exports/src/car.ts",
    "content": "export interface Driveable {\n\tdrive(distance: number): boolean;\n}\n\nexport default class Car implements Driveable {\n\tpublic drive(distance: number): boolean {\n\t\treturn true;\n\t}\n}\n"
  },
  {
    "path": "test/fixtures/ts-mixed-exports/src/index.ts",
    "content": "import Car from './car';\n\nlet Ferrari = new Car();\n\nexport { Car };\n\nexport default Ferrari;\n"
  },
  {
    "path": "test/fixtures/ts-mixed-exports/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"baseUrl\": \".\"\n\t},\n\t\"files\": [\"src/index.ts\"]\n}\n"
  },
  {
    "path": "test/fixtures/ts-module/package.json",
    "content": "{\n\t\"name\": \"ts-module\"\n}\n"
  },
  {
    "path": "test/fixtures/ts-module/src/foo.ts",
    "content": "export function foo() {\n\treturn 'foo';\n}\n"
  },
  {
    "path": "test/fixtures/ts-module/src/index.ts",
    "content": "import { foo } from './foo';\n\nexport function foobar() {\n\treturn foo() + 'bar';\n}\n"
  },
  {
    "path": "test/fixtures/ts-module/tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"module\": \"CommonJS\"\n\t}\n}\n"
  },
  {
    "path": "test/fixtures/visualizer/package.json",
    "content": "{\n  \"name\": \"visualizer\",\n  \"scripts\": {\n    \"prebuild\": \"rimraf ./stats.html\",\n    \"build\": \"microbundle --visualize\"\n  },\n  \"peerDependencies\": {\n    \"camelcase\": \"*\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/visualizer/src/index.js",
    "content": "import camelcase from 'camelcase';\n\nexport default camelcase('foo-bar');\n"
  },
  {
    "path": "test/fixtures/worker-loader/package.json",
    "content": "{\n  \"name\": \"worker-loader\",\n  \"scripts\": {\n    \"build\": \"microbundle -f modern,es --workers\"\n  }\n}\n"
  },
  {
    "path": "test/fixtures/worker-loader/src/bar.js",
    "content": "export function bar() {\n\treturn 'bar';\n}\n"
  },
  {
    "path": "test/fixtures/worker-loader/src/index.js",
    "content": "const webWorker = new Worker('./worker.js', { type: 'module' });\n\nwebWorker.onmessage = message => message.data === 'foobar';\nwebWorker.postMessage('foo');\n"
  },
  {
    "path": "test/fixtures/worker-loader/src/worker.js",
    "content": "import { bar } from './bar';\n\nself.onmessage = message => self.postMessage(message.data + bar());\n"
  },
  {
    "path": "test/index.test.js",
    "content": "import { resolve } from 'path';\nimport fs from 'fs-extra';\nimport dirTree from 'directory-tree';\nimport { strip } from './lib/util';\nimport { buildDirectory, getBuildScript } from '../tools/build-fixture';\n\nconst FIXTURES_DIR = `${__dirname}/fixtures`;\nconst DEFAULT_SCRIPT = 'microbundle';\nconst TEST_TIMEOUT = 11000;\n\nconst sleep = ms => new Promise(r => setTimeout(r, ms));\n\nconst join = (arr, delimiter = '') => arr.join(delimiter);\n\nconst printTree = (nodes, indentLevel = 0) => {\n\tconst indent = '  '.repeat(indentLevel);\n\treturn join(\n\t\tnodes\n\t\t\t.filter(node => node.name[0] !== '.')\n\t\t\t.map(node => {\n\t\t\t\tconst isDir = node.type === 'directory';\n\t\t\t\treturn `${indent}${node.name}\\n${\n\t\t\t\t\tisDir ? printTree(node.children, indentLevel + 1) : ''\n\t\t\t\t}`;\n\t\t\t}),\n\t);\n};\n\ndescribe('fixtures', () => {\n\tconst dirs = fs\n\t\t.readdirSync(FIXTURES_DIR)\n\t\t.filter(fixturePath =>\n\t\t\tfs.statSync(resolve(FIXTURES_DIR, fixturePath)).isDirectory(),\n\t\t);\n\n\tit.each(dirs)(\n\t\t'build %s with microbundle',\n\t\tasync fixtureDir => {\n\t\t\tlet fixturePath = resolve(FIXTURES_DIR, fixtureDir);\n\t\t\tif (fixtureDir.endsWith('-with-cwd')) {\n\t\t\t\tfixturePath = resolve(fixturePath, fixtureDir.replace('-with-cwd', ''));\n\t\t\t}\n\n\t\t\tawait sleep(1);\n\n\t\t\tconst output = await buildDirectory(fixtureDir);\n\n\t\t\tawait sleep(1);\n\n\t\t\tconst printedDir = printTree([dirTree(fixturePath)]);\n\n\t\t\texpect(\n\t\t\t\t[\n\t\t\t\t\t`Used script: ${await getBuildScript(fixturePath, DEFAULT_SCRIPT)}`,\n\t\t\t\t\t'Directory tree:',\n\t\t\t\t\tprintedDir,\n\t\t\t\t\tstrip(output),\n\t\t\t\t].join('\\n\\n'),\n\t\t\t).toMatchSnapshot();\n\n\t\t\tconst dist = resolve(`${fixturePath}/dist`);\n\t\t\tconst files = fs.readdirSync(resolve(dist));\n\t\t\texpect(files.length).toMatchSnapshot();\n\t\t\t// we don't really care about the content of a sourcemap\n\t\t\tfiles\n\t\t\t\t.filter(\n\t\t\t\t\tfile =>\n\t\t\t\t\t\t!/\\.map$/.test(file) &&\n\t\t\t\t\t\t!fs.lstatSync(resolve(dist, file)).isDirectory(),\n\t\t\t\t)\n\t\t\t\t.sort(file => (/modern/.test(file) ? 1 : 0))\n\t\t\t\t.forEach(file => {\n\t\t\t\t\texpect(\n\t\t\t\t\t\tfs.readFileSync(resolve(dist, file)).toString('utf8'),\n\t\t\t\t\t).toMatchSnapshot();\n\t\t\t\t});\n\n\t\t\t// TypeScript declaration files\n\t\t\tconst types = resolve(`${fixturePath}/types`);\n\t\t\tif (fs.existsSync(types)) {\n\t\t\t\tconst declarations = fs.readdirSync(types);\n\t\t\t\texpect(declarations.length).toMatchSnapshot();\n\t\t\t\tdeclarations.forEach(file => {\n\t\t\t\t\texpect(\n\t\t\t\t\t\tfs.readFileSync(resolve(types, file)).toString('utf8'),\n\t\t\t\t\t).toMatchSnapshot();\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tTEST_TIMEOUT,\n\t);\n\n\tit('should keep shebang', () => {\n\t\texpect(\n\t\t\tfs\n\t\t\t\t.readFileSync(resolve(FIXTURES_DIR, 'shebang/dist/shebang.js'), 'utf8')\n\t\t\t\t.startsWith('#!'),\n\t\t).toEqual(true);\n\t});\n\n\tit('should keep named and default export', () => {\n\t\tconst mod = require(resolve(\n\t\t\tFIXTURES_DIR,\n\t\t\t'default-named/dist/default-named.js',\n\t\t));\n\n\t\texpect(Object.keys(mod)).toEqual(['default', 'foo']);\n\t});\n});\n"
  },
  {
    "path": "test/lib/util.js",
    "content": "import stripAnsi from 'strip-ansi';\n\nexport const strip = s =>\n\tstripAnsi(s).replace(/(?:^[\\n\\s]+|[\\n\\s]+$|(^|\\n)\\s+)/gm, '$1');\n"
  },
  {
    "path": "tools/build-fixture.js",
    "content": "import { resolve } from 'path';\nimport { promisify } from 'util';\nimport shellQuote from 'shell-quote';\nimport _rimraf from 'rimraf';\nimport { readFile } from '../src/utils';\nimport createProg from '../src/prog';\nimport microbundle from '../src/index';\n\nconst rimraf = promisify(_rimraf);\n\nconst FIXTURES_DIR = resolve(`${__dirname}/../test/fixtures`);\nconst DEFAULT_SCRIPT = 'microbundle';\n\nconst parseScript = (() => {\n\treturn script => {\n\t\tlet parsed;\n\t\tconst prog = createProg(_parsed => (parsed = _parsed));\n\t\tconst argv = shellQuote.parse(`node ${script}`);\n\n\t\t// default to non-modern formats\n\t\tlet hasFormats = argv.some(arg => /^(--format|-f)$/.test(arg));\n\t\tif (!hasFormats) argv.push('-f', 'es,cjs,umd');\n\n\t\t// assuming {op: 'glob', pattern} for non-string args\n\t\tprog(argv.map(arg => (typeof arg === 'string' ? arg : arg.pattern)));\n\n\t\treturn parsed;\n\t};\n})();\n\nexport const getBuildScript = async (fixturePath, defaultScript) => {\n\tlet pkg = {};\n\ttry {\n\t\tpkg = JSON.parse(\n\t\t\tawait readFile(resolve(fixturePath, 'package.json'), 'utf8'),\n\t\t);\n\t} catch (err) {\n\t\tif (err.code !== 'ENOENT') throw err;\n\t}\n\treturn (pkg && pkg.scripts && pkg.scripts.build) || defaultScript;\n};\n\nexport const buildDirectory = async fixtureDir => {\n\tlet fixturePath = resolve(FIXTURES_DIR, fixtureDir);\n\tif (fixtureDir.endsWith('-with-cwd')) {\n\t\tfixturePath = resolve(fixturePath, fixtureDir.replace('-with-cwd', ''));\n\t}\n\n\tconst dist = resolve(`${fixturePath}/dist`);\n\t// clean up\n\tawait rimraf(dist);\n\tif (!fixturePath.endsWith('ts-custom-declaration')) {\n\t\tawait rimraf(resolve(`${fixturePath}/types`));\n\t}\n\tawait rimraf(resolve(`${fixturePath}/.rts2_cache_cjs`));\n\tawait rimraf(resolve(`${fixturePath}/.rts2_cache_es`));\n\tawait rimraf(resolve(`${fixturePath}/.rts2_cache_umd`));\n\n\tconst script = await getBuildScript(fixturePath, DEFAULT_SCRIPT);\n\n\tconst prevDir = process.cwd();\n\tprocess.chdir(resolve(fixturePath));\n\n\tconst parsedOpts = parseScript(script);\n\tlet { output } = await microbundle({\n\t\t...parsedOpts,\n\t\tcwd: parsedOpts.cwd !== '.' ? parsedOpts.cwd : resolve(fixturePath),\n\t});\n\toutput = output || '';\n\n\tprocess.chdir(prevDir);\n\n\treturn output;\n};\n"
  },
  {
    "path": "tools/generate-filesize.js",
    "content": "// eslint-ignore\nrequire = require('esm')(module);\n\nconst { resolve } = require('path');\nconst fs = require('fs-extra');\nconst { buildDirectory } = require('./build-fixture');\n\nconst FIXTURES_DIR = `${__dirname}/../test/fixtures`;\n\nconst each = fn => arr => {\n\tarr = Array.isArray(arr) ? arr : [arr];\n\n\treturn arr\n\t\t.reduce(\n\t\t\t(prev, curr, i) => prev.then(() => fn(curr, i, arr.length)),\n\t\t\tPromise.resolve(),\n\t\t)\n\t\t.then(() => arr);\n};\n\nconst dirs = fs\n\t.readdirSync(FIXTURES_DIR)\n\t.filter(fixturePath =>\n\t\tfs.statSync(resolve(FIXTURES_DIR, fixturePath)).isDirectory(),\n\t);\n\n(async () => {\n\tconst csv = [];\n\n\tawait each(async fixtureDir => {\n\t\tlet fixturePath = resolve(FIXTURES_DIR, fixtureDir);\n\t\tif (fixtureDir.endsWith('-with-cwd')) {\n\t\t\tfixturePath = resolve(fixturePath, fixtureDir.replace('-with-cwd', ''));\n\t\t}\n\n\t\tawait buildDirectory(fixtureDir);\n\n\t\tconst dist = resolve(`${fixturePath}/dist`);\n\t\tfs.readdirSync(dist)\n\t\t\t.filter(file => !/\\.map$/.test(file))\n\t\t\t.forEach(file => {\n\t\t\t\tconst size = fs.statSync(resolve(`${dist}/${file}`)).size;\n\t\t\t\tcsv.push(`${fixtureDir}/${file},${size}`);\n\t\t\t});\n\t})(dirs);\n\n\tcsv.unshift('file,size');\n\n\tfs.writeFile(resolve(__dirname, '../sizes.csv'), csv.join('\\n'));\n})();\n"
  },
  {
    "path": "tsconfig.json",
    "content": "{\n\t\"compilerOptions\": {\n\t\t\"importHelpers\": true\n\t}\n}\n"
  }
]