From cf4235066aa43d9cbea20cd1f0ec442b5962b759 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 27 Nov 2020 17:52:29 +0100 Subject: [PATCH 01/20] chore: add plugin dep --- package-lock.json | 5 +++++ package.json | 1 + 2 files changed, 6 insertions(+) diff --git a/package-lock.json b/package-lock.json index 29ff7d3c..96f7de38 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13645,6 +13645,11 @@ } } }, + "rollup-plugin-import-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-import-map/-/rollup-plugin-import-map-2.0.0.tgz", + "integrity": "sha512-Zb7EfWBoZaSecm2RJ353QWirvwOJv6PyviOapG0qZCCJX222DLDiVb9wEJL6KQW+b9QClnc+kEcVjifSOUQmew==" + }, "rollup-plugin-postcss": { "version": "2.9.0", "resolved": "https://registry.npmjs.org/rollup-plugin-postcss/-/rollup-plugin-postcss-2.9.0.tgz", diff --git a/package.json b/package.json index 5d4abf3b..a9c1eb53 100644 --- a/package.json +++ b/package.json @@ -107,6 +107,7 @@ "rollup": "^1.32.1", "rollup-plugin-bundle-size": "^1.0.1", "rollup-plugin-es3": "^1.1.0", + "rollup-plugin-import-map": "^2.0.0", "rollup-plugin-postcss": "^2.9.0", "rollup-plugin-terser": "^5.3.0", "rollup-plugin-typescript2": "^0.25.3", From 6045876ba936bcc7d7246e11ac8b3ad878bcfcfe Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 27 Nov 2020 20:06:06 +0100 Subject: [PATCH 02/20] feat: add --import-map CLI help --- src/prog.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/prog.js b/src/prog.js index 2211d217..e85495ac 100644 --- a/src/prog.js +++ b/src/prog.js @@ -51,6 +51,11 @@ export default handler => { .example('microbundle --define API_KEY=1234') .option('--alias', `Map imports to different modules`) .example('microbundle --alias react=preact') + .option( + '--import-map', + `Import maps bare import specifiers to absolute URLs, when outputting ESM (-f esm,modern). Allows loading modules from a CDN at runtime, instead of bundling them at build time.`, + ) + .example('microbundle --import-map preact=https://unpkg.com/preact?module') .option('--compress', 'Compress output using Terser', null) .option('--strict', 'Enforce undefined global context and add "use strict"') .option('--name', 'Specify name exposed in UMD builds') From b8a4ffa9be742890f1b4536ff550f684e09625c0 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 27 Nov 2020 20:19:06 +0100 Subject: [PATCH 03/20] fix: shorter help message --- src/prog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prog.js b/src/prog.js index e85495ac..a621bb6d 100644 --- a/src/prog.js +++ b/src/prog.js @@ -53,7 +53,7 @@ export default handler => { .example('microbundle --alias react=preact') .option( '--import-map', - `Import maps bare import specifiers to absolute URLs, when outputting ESM (-f esm,modern). Allows loading modules from a CDN at runtime, instead of bundling them at build time.`, + 'Import ESM packages from a CDN, instead of including them in the ESM bundle', ) .example('microbundle --import-map preact=https://unpkg.com/preact?module') .option('--compress', 'Compress output using Terser', null) From a59c6277b715e9d4edfde399f505d12f81a052bf Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 27 Nov 2020 20:19:43 +0100 Subject: [PATCH 04/20] fix: add test fixture for implementation --- test/fixtures/import-map/index.js | 6 ++++++ test/fixtures/import-map/package.json | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 test/fixtures/import-map/index.js create mode 100644 test/fixtures/import-map/package.json diff --git a/test/fixtures/import-map/index.js b/test/fixtures/import-map/index.js new file mode 100644 index 00000000..cc85e2ad --- /dev/null +++ b/test/fixtures/import-map/index.js @@ -0,0 +1,6 @@ +/* eslint-disable no-console */ +import { getLCP, getFID, getCLS } from 'web-vitals'; + +getCLS(console.log); +getFID(console.log); +getLCP(console.log); diff --git a/test/fixtures/import-map/package.json b/test/fixtures/import-map/package.json new file mode 100644 index 00000000..f592963b --- /dev/null +++ b/test/fixtures/import-map/package.json @@ -0,0 +1,6 @@ +{ + "name": "import-map", + "scripts": { + "build": "microbundle -f modern --import-map web-vitals=https://unpkg.com/web-vitals/base?module" + } +} From 1b2352ec1f645dd7a215a93777b7b6905d8a6cf9 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 27 Nov 2020 20:20:06 +0100 Subject: [PATCH 05/20] feat: load and configure the rollup plugin --- src/index.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/index.js b/src/index.js index 765bd0eb..20eafb04 100644 --- a/src/index.js +++ b/src/index.js @@ -9,6 +9,7 @@ import autoprefixer from 'autoprefixer'; import cssnano from 'cssnano'; import { rollup, watch } from 'rollup'; import builtinModules from 'builtin-modules'; +import importMap from 'rollup-plugin-import-map'; import commonjs from '@rollup/plugin-commonjs'; import babel from '@rollup/plugin-babel'; import customBabel from './lib/babel-custom'; @@ -351,6 +352,14 @@ function createConfig(options, entry, format, writeMeta) { ); } + let imports = {}; + if (options['import-map']) { + imports = Object.assign( + imports, + parseMappingArgument(options['import-map']), + ); + } + const modern = format === 'modern'; // let rollupName = safeVariableName(basename(entry).replace(/\.js$/, '')); @@ -443,6 +452,9 @@ function createConfig(options, entry, format, writeMeta) { plugins: [] .concat( + (modern || format === 'es') && + isTruthy(imports) && + importMap({ imports }), postcss({ plugins: [ autoprefixer(), From eb3e791294c9c310ef4a0f7cb97233ab04329852 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 27 Nov 2020 20:24:28 +0100 Subject: [PATCH 06/20] fix: update snapshots --- test/__snapshots__/index.test.js.snap | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index f7c747f6..cc763973 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -1687,6 +1687,32 @@ exports[`fixtures build esnext-ts with microbundle 6`] = ` " `; +exports[`fixtures build import-map with microbundle 1`] = ` +"Used script: microbundle -f modern --import-map web-vitals=https://unpkg.com/web-vitals/base?module + +Directory tree: + +import-map + dist + import-map.modern.js + import-map.modern.js.map + index.js + package.json + + +Build \\"importMap\\" to dist: +124 B: import-map.modern.js.gz +107 B: import-map.modern.js.br" +`; + +exports[`fixtures build import-map with microbundle 2`] = `2`; + +exports[`fixtures build import-map with microbundle 3`] = ` +"import{getCLS as o,getFID as l,getLCP as e}from\\"https://unpkg.com/web-vitals/base?module\\";o(console.log),l(console.log),e(console.log); +//# sourceMappingURL=import-map.modern.js.map +" +`; + exports[`fixtures build jsx with microbundle 1`] = ` "Used script: microbundle From 464677e32c7bbc5ecf864b683653bc0d5de36d43 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 27 Nov 2020 21:38:38 +0100 Subject: [PATCH 07/20] chore: update plugin --- package-lock.json | 8 ++++---- package.json | 2 +- src/index.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 96f7de38..5ad885d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "microbundle", - "version": "0.12.3", + "version": "0.12.4", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -13646,9 +13646,9 @@ } }, "rollup-plugin-import-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-import-map/-/rollup-plugin-import-map-2.0.0.tgz", - "integrity": "sha512-Zb7EfWBoZaSecm2RJ353QWirvwOJv6PyviOapG0qZCCJX222DLDiVb9wEJL6KQW+b9QClnc+kEcVjifSOUQmew==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-import-map/-/rollup-plugin-import-map-2.1.0.tgz", + "integrity": "sha512-MdZBCqaVSpzNQGlDoVZYtS2gF1a1/3br57jOLt3/R1ic5twvScN1egF2/PKUQ7CUvT3PC3diC9fVc9epKKwFvw==" }, "rollup-plugin-postcss": { "version": "2.9.0", diff --git a/package.json b/package.json index a9c1eb53..079862f5 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "rollup": "^1.32.1", "rollup-plugin-bundle-size": "^1.0.1", "rollup-plugin-es3": "^1.1.0", - "rollup-plugin-import-map": "^2.0.0", + "rollup-plugin-import-map": "^2.1.0", "rollup-plugin-postcss": "^2.9.0", "rollup-plugin-terser": "^5.3.0", "rollup-plugin-typescript2": "^0.25.3", diff --git a/src/index.js b/src/index.js index 20eafb04..3dfe9d5d 100644 --- a/src/index.js +++ b/src/index.js @@ -9,7 +9,7 @@ import autoprefixer from 'autoprefixer'; import cssnano from 'cssnano'; import { rollup, watch } from 'rollup'; import builtinModules from 'builtin-modules'; -import importMap from 'rollup-plugin-import-map'; +import { rollupImportMapPlugin as importMap } from 'rollup-plugin-import-map'; import commonjs from '@rollup/plugin-commonjs'; import babel from '@rollup/plugin-babel'; import customBabel from './lib/babel-custom'; From 44a92cf256c6eb231d1582d8913f08638d2cb005 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 27 Nov 2020 23:02:44 +0100 Subject: [PATCH 08/20] Create two-ducks-shave.md --- .changeset/two-ducks-shave.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/two-ducks-shave.md diff --git a/.changeset/two-ducks-shave.md b/.changeset/two-ducks-shave.md new file mode 100644 index 00000000..49ffba9d --- /dev/null +++ b/.changeset/two-ducks-shave.md @@ -0,0 +1,5 @@ +--- +'microbundle': minor +--- + +Support ESM Import Maps From 6a0e3253fe86cf30320c85d7b41d7615e03503d7 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Sat, 28 Nov 2020 01:36:43 +0100 Subject: [PATCH 09/20] chore: smol url --- test/__snapshots__/index.test.js.snap | 8 ++++---- test/fixtures/import-map/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index cc763973..cd26f6d5 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -1688,7 +1688,7 @@ exports[`fixtures build esnext-ts with microbundle 6`] = ` `; exports[`fixtures build import-map with microbundle 1`] = ` -"Used script: microbundle -f modern --import-map web-vitals=https://unpkg.com/web-vitals/base?module +"Used script: microbundle -f modern --import-map web-vitals=https://unpkg.com/web-vitals?module Directory tree: @@ -1701,14 +1701,14 @@ import-map Build \\"importMap\\" to dist: -124 B: import-map.modern.js.gz -107 B: import-map.modern.js.br" +119 B: import-map.modern.js.gz +100 B: import-map.modern.js.br" `; exports[`fixtures build import-map with microbundle 2`] = `2`; exports[`fixtures build import-map with microbundle 3`] = ` -"import{getCLS as o,getFID as l,getLCP as e}from\\"https://unpkg.com/web-vitals/base?module\\";o(console.log),l(console.log),e(console.log); +"import{getCLS as o,getFID as l,getLCP as e}from\\"https://unpkg.com/web-vitals?module\\";o(console.log),l(console.log),e(console.log); //# sourceMappingURL=import-map.modern.js.map " `; diff --git a/test/fixtures/import-map/package.json b/test/fixtures/import-map/package.json index f592963b..fdf5749a 100644 --- a/test/fixtures/import-map/package.json +++ b/test/fixtures/import-map/package.json @@ -1,6 +1,6 @@ { "name": "import-map", "scripts": { - "build": "microbundle -f modern --import-map web-vitals=https://unpkg.com/web-vitals/base?module" + "build": "microbundle -f modern --import-map web-vitals=https://unpkg.com/web-vitals?module" } } From ff71288b9a45bc2123838e5db7ad544d226231b9 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Wed, 9 Dec 2020 03:59:07 +0100 Subject: [PATCH 10/20] refactor: read import map from json file --- package-lock.json | 6 +++--- package.json | 2 +- src/index.js | 12 ++---------- src/prog.js | 2 +- test/__snapshots__/index.test.js.snap | 3 ++- test/fixtures/import-map/import-map.json | 5 +++++ test/fixtures/import-map/package.json | 2 +- 7 files changed, 15 insertions(+), 17 deletions(-) create mode 100644 test/fixtures/import-map/import-map.json diff --git a/package-lock.json b/package-lock.json index 5ad885d8..e8342523 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13646,9 +13646,9 @@ } }, "rollup-plugin-import-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-import-map/-/rollup-plugin-import-map-2.1.0.tgz", - "integrity": "sha512-MdZBCqaVSpzNQGlDoVZYtS2gF1a1/3br57jOLt3/R1ic5twvScN1egF2/PKUQ7CUvT3PC3diC9fVc9epKKwFvw==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-import-map/-/rollup-plugin-import-map-2.2.0.tgz", + "integrity": "sha512-u7AOwcNGMJUFrFSlacQShfrN+r6dcWeD9Q3WRuSW9ZfFuqqTtQgtggsHSAl04dar76hXGVqP/zZp7gJWd/Gltw==" }, "rollup-plugin-postcss": { "version": "2.9.0", diff --git a/package.json b/package.json index 079862f5..7665e5e6 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "rollup": "^1.32.1", "rollup-plugin-bundle-size": "^1.0.1", "rollup-plugin-es3": "^1.1.0", - "rollup-plugin-import-map": "^2.1.0", + "rollup-plugin-import-map": "^2.2.0", "rollup-plugin-postcss": "^2.9.0", "rollup-plugin-terser": "^5.3.0", "rollup-plugin-typescript2": "^0.25.3", diff --git a/src/index.js b/src/index.js index 3dfe9d5d..61676958 100644 --- a/src/index.js +++ b/src/index.js @@ -352,14 +352,6 @@ function createConfig(options, entry, format, writeMeta) { ); } - let imports = {}; - if (options['import-map']) { - imports = Object.assign( - imports, - parseMappingArgument(options['import-map']), - ); - } - const modern = format === 'modern'; // let rollupName = safeVariableName(basename(entry).replace(/\.js$/, '')); @@ -453,8 +445,8 @@ function createConfig(options, entry, format, writeMeta) { plugins: [] .concat( (modern || format === 'es') && - isTruthy(imports) && - importMap({ imports }), + options['import-map'] && + importMap(options['import-map']), postcss({ plugins: [ autoprefixer(), diff --git a/src/prog.js b/src/prog.js index a621bb6d..9496ad83 100644 --- a/src/prog.js +++ b/src/prog.js @@ -55,7 +55,7 @@ export default handler => { '--import-map', 'Import ESM packages from a CDN, instead of including them in the ESM bundle', ) - .example('microbundle --import-map preact=https://unpkg.com/preact?module') + .example('microbundle --import-map import-map.json') .option('--compress', 'Compress output using Terser', null) .option('--strict', 'Enforce undefined global context and add "use strict"') .option('--name', 'Specify name exposed in UMD builds') diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index cd26f6d5..c40e56fa 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -1688,7 +1688,7 @@ exports[`fixtures build esnext-ts with microbundle 6`] = ` `; exports[`fixtures build import-map with microbundle 1`] = ` -"Used script: microbundle -f modern --import-map web-vitals=https://unpkg.com/web-vitals?module +"Used script: microbundle -f modern --import-map import-map.json Directory tree: @@ -1696,6 +1696,7 @@ import-map dist import-map.modern.js import-map.modern.js.map + import-map.json index.js package.json diff --git a/test/fixtures/import-map/import-map.json b/test/fixtures/import-map/import-map.json new file mode 100644 index 00000000..be6d0698 --- /dev/null +++ b/test/fixtures/import-map/import-map.json @@ -0,0 +1,5 @@ +{ + "imports": { + "web-vitals": "https://unpkg.com/web-vitals?module" + } +} diff --git a/test/fixtures/import-map/package.json b/test/fixtures/import-map/package.json index fdf5749a..ce6abe72 100644 --- a/test/fixtures/import-map/package.json +++ b/test/fixtures/import-map/package.json @@ -1,6 +1,6 @@ { "name": "import-map", "scripts": { - "build": "microbundle -f modern --import-map web-vitals=https://unpkg.com/web-vitals?module" + "build": "microbundle -f modern --import-map import-map.json" } } From 36b949aaf727deca1819c082f56921adca796757 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 11 Dec 2020 10:28:10 +0100 Subject: [PATCH 11/20] chore: bump dep to fix node v12 compat --- package.json | 286 +++++++++++++++++++++++++-------------------------- src/index.js | 2 +- 2 files changed, 144 insertions(+), 144 deletions(-) diff --git a/package.json b/package.json index 7665e5e6..8a06da67 100644 --- a/package.json +++ b/package.json @@ -1,145 +1,145 @@ { - "name": "microbundle", - "version": "0.12.4", - "description": "Zero-configuration bundler for tiny JS libs, powered by Rollup.", - "main": "dist/microbundle.js", - "source": "src/index.js", - "bin": "dist/cli.js", - "scripts": { - "build": "npm run -s build:babel && npm run -s build:self", - "build:babel": "babel-node src/cli.js --target=node --format cjs src/{cli,index}.js", - "build:self": "node dist/cli.js --target=node --format cjs src/{cli,index}.js", - "prepare": "npm run -s build", - "prepare:babel": "babel src/*.js -d dist && npm t", - "lint": "eslint src", - "test": "npm run -s lint && npm run -s build && cross-env BABEL_ENV=test jest", - "jest": "cross-env BABEL_ENV=test jest", - "format": "prettier --write \"{*,{src,test}/**/*}.+(js|css)\"", - "changeset": "changeset", - "release": "npm run -s prepare && npm test && changeset publish" - }, - "repository": "developit/microbundle", - "prettier": { - "singleQuote": true, - "trailingComma": "all", - "useTabs": true, - "arrowParens": "avoid", - "overrides": [ - { - "files": "package.json", - "options": { - "useTabs": false, - "parser": "json-stringify" - } - } - ] - }, - "lint-staged": { - "{src,test}/**/*.js": [ - "eslint --fix", - "prettier --write" - ], - "{*,{src,test}/**/*}.+(js|css)": [ - "prettier --write" - ], - "*.md": [ - "prettier --write" - ] - }, - "jest": { - "testEnvironment": "node", - "testURL": "http://localhost" - }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, - "greenkeeper": { - "lockfiles": { - "outOfRangeUpdatesOnly": true - } - }, - "keywords": [ - "bundle", - "rollup", - "micro library" - ], - "files": [ - "src", - "dist" - ], - "author": "Jason Miller (http://jasonformat.com)", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.10.2", - "@babel/plugin-proposal-class-properties": "7.7.4", - "@babel/plugin-syntax-import-meta": "^7.10.1", - "@babel/plugin-syntax-jsx": "^7.10.1", - "@babel/plugin-transform-flow-strip-types": "^7.10.1", - "@babel/plugin-transform-react-jsx": "^7.10.1", - "@babel/plugin-transform-regenerator": "^7.10.1", - "@babel/preset-env": "^7.11.0", - "@babel/preset-flow": "^7.10.1", - "@babel/preset-react": "^7.10.4", - "@rollup/plugin-alias": "^3.1.1", - "@rollup/plugin-babel": "^5.0.3", - "@rollup/plugin-commonjs": "^13.0.0", - "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-node-resolve": "^6.1.0", - "asyncro": "^3.0.0", - "autoprefixer": "^9.8.0", - "babel-plugin-macros": "^2.8.0", - "babel-plugin-transform-async-to-promises": "^0.8.15", - "babel-plugin-transform-replace-expressions": "^0.2.0", - "brotli-size": "^4.0.0", - "builtin-modules": "^3.1.0", - "camelcase": "^5.3.1", - "cssnano": "^4.1.10", - "es6-promisify": "^6.1.1", - "escape-string-regexp": "^4.0.0", - "filesize": "^6.1.0", - "gzip-size": "^5.1.1", - "kleur": "^3.0.3", - "lodash.merge": "^4.6.2", - "module-details-from-path": "^1.0.3", - "pretty-bytes": "^5.3.0", - "rollup": "^1.32.1", - "rollup-plugin-bundle-size": "^1.0.1", - "rollup-plugin-es3": "^1.1.0", - "rollup-plugin-import-map": "^2.2.0", - "rollup-plugin-postcss": "^2.9.0", - "rollup-plugin-terser": "^5.3.0", - "rollup-plugin-typescript2": "^0.25.3", - "sade": "^1.7.3", - "tiny-glob": "^0.2.6", - "tslib": "^1.13.0", - "typescript": "^3.9.5" - }, - "devDependencies": { - "@babel/cli": "^7.10.1", - "@babel/node": "^7.10.1", - "@babel/plugin-proposal-throw-expressions": "^7.10.1", - "@changesets/changelog-github": "^0.2.6", - "@changesets/cli": "^2.9.2", - "babel-jest": "^24.8.0", - "cross-env": "^6.0.3", - "directory-tree": "^2.2.3", - "eslint": "^6.8.0", - "eslint-config-developit": "^1.2.0", - "eslint-config-prettier": "^6.11.0", - "eslint-plugin-prettier": "^3.1.4", - "esm": "^3.2.22", - "fs-extra": "^8.1.0", - "husky": "^4.2.5", - "jest": "^24.8.0", - "lint-staged": "^10.2.10", - "npm-merge-driver-install": "^1.1.1", - "prettier": "^1.19.1", - "regenerator-runtime": "^0.13.5", - "rimraf": "^3.0.2", - "shell-quote": "^1.6.1", - "strip-ansi": "^6.0.0", - "travis-size-report": "^1.1.0" - } + "name": "microbundle", + "version": "0.12.4", + "description": "Zero-configuration bundler for tiny JS libs, powered by Rollup.", + "main": "dist/microbundle.js", + "source": "src/index.js", + "bin": "dist/cli.js", + "scripts": { + "build": "npm run -s build:babel && npm run -s build:self", + "build:babel": "babel-node src/cli.js --target=node --format cjs src/{cli,index}.js", + "build:self": "node dist/cli.js --target=node --format cjs src/{cli,index}.js", + "prepare": "npm run -s build", + "prepare:babel": "babel src/*.js -d dist && npm t", + "lint": "eslint src", + "test": "npm run -s lint && npm run -s build && cross-env BABEL_ENV=test jest", + "jest": "cross-env BABEL_ENV=test jest", + "format": "prettier --write \"{*,{src,test}/**/*}.+(js|css)\"", + "changeset": "changeset", + "release": "npm run -s prepare && npm test && changeset publish" + }, + "repository": "developit/microbundle", + "prettier": { + "singleQuote": true, + "trailingComma": "all", + "useTabs": true, + "arrowParens": "avoid", + "overrides": [ + { + "files": "package.json", + "options": { + "useTabs": false, + "parser": "json-stringify" + } + } + ] + }, + "lint-staged": { + "{src,test}/**/*.js": [ + "eslint --fix", + "prettier --write" + ], + "{*,{src,test}/**/*}.+(js|css)": [ + "prettier --write" + ], + "*.md": [ + "prettier --write" + ] + }, + "jest": { + "testEnvironment": "node", + "testURL": "http://localhost" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "greenkeeper": { + "lockfiles": { + "outOfRangeUpdatesOnly": true + } + }, + "keywords": [ + "bundle", + "rollup", + "micro library" + ], + "files": [ + "src", + "dist" + ], + "author": "Jason Miller (http://jasonformat.com)", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.10.2", + "@babel/plugin-proposal-class-properties": "7.7.4", + "@babel/plugin-syntax-import-meta": "^7.10.1", + "@babel/plugin-syntax-jsx": "^7.10.1", + "@babel/plugin-transform-flow-strip-types": "^7.10.1", + "@babel/plugin-transform-react-jsx": "^7.10.1", + "@babel/plugin-transform-regenerator": "^7.10.1", + "@babel/preset-env": "^7.11.0", + "@babel/preset-flow": "^7.10.1", + "@babel/preset-react": "^7.10.4", + "@rollup/plugin-alias": "^3.1.1", + "@rollup/plugin-babel": "^5.0.3", + "@rollup/plugin-commonjs": "^13.0.0", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-node-resolve": "^6.1.0", + "asyncro": "^3.0.0", + "autoprefixer": "^9.8.0", + "babel-plugin-macros": "^2.8.0", + "babel-plugin-transform-async-to-promises": "^0.8.15", + "babel-plugin-transform-replace-expressions": "^0.2.0", + "brotli-size": "^4.0.0", + "builtin-modules": "^3.1.0", + "camelcase": "^5.3.1", + "cssnano": "^4.1.10", + "es6-promisify": "^6.1.1", + "escape-string-regexp": "^4.0.0", + "filesize": "^6.1.0", + "gzip-size": "^5.1.1", + "kleur": "^3.0.3", + "lodash.merge": "^4.6.2", + "module-details-from-path": "^1.0.3", + "pretty-bytes": "^5.3.0", + "rollup": "^1.32.1", + "rollup-plugin-bundle-size": "^1.0.1", + "rollup-plugin-es3": "^1.1.0", + "rollup-plugin-import-map": "^2.2.1", + "rollup-plugin-postcss": "^2.9.0", + "rollup-plugin-terser": "^5.3.0", + "rollup-plugin-typescript2": "^0.25.3", + "sade": "^1.7.3", + "tiny-glob": "^0.2.6", + "tslib": "^1.13.0", + "typescript": "^3.9.5" + }, + "devDependencies": { + "@babel/cli": "^7.10.1", + "@babel/node": "^7.10.1", + "@babel/plugin-proposal-throw-expressions": "^7.10.1", + "@changesets/changelog-github": "^0.2.6", + "@changesets/cli": "^2.9.2", + "babel-jest": "^24.8.0", + "cross-env": "^6.0.3", + "directory-tree": "^2.2.3", + "eslint": "^6.8.0", + "eslint-config-developit": "^1.2.0", + "eslint-config-prettier": "^6.11.0", + "eslint-plugin-prettier": "^3.1.4", + "esm": "^3.2.22", + "fs-extra": "^8.1.0", + "husky": "^4.2.5", + "jest": "^24.8.0", + "lint-staged": "^10.2.10", + "npm-merge-driver-install": "^1.1.1", + "prettier": "^1.19.1", + "regenerator-runtime": "^0.13.5", + "rimraf": "^3.0.2", + "shell-quote": "^1.6.1", + "strip-ansi": "^6.0.0", + "travis-size-report": "^1.1.0" + } } diff --git a/src/index.js b/src/index.js index 61676958..4c87f8e8 100644 --- a/src/index.js +++ b/src/index.js @@ -9,7 +9,7 @@ import autoprefixer from 'autoprefixer'; import cssnano from 'cssnano'; import { rollup, watch } from 'rollup'; import builtinModules from 'builtin-modules'; -import { rollupImportMapPlugin as importMap } from 'rollup-plugin-import-map'; +import { rollupImportMapPlugin as importMap } from 'rollup-plugin-import-map/dist/lib/plugin.js'; import commonjs from '@rollup/plugin-commonjs'; import babel from '@rollup/plugin-babel'; import customBabel from './lib/babel-custom'; From ccd0166fd990123bd08c8e2f81722626477f28d6 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 11 Dec 2020 11:45:28 +0100 Subject: [PATCH 12/20] chore: bump dep to fix node v12 compat --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8a06da67..505d24ed 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "rollup": "^1.32.1", "rollup-plugin-bundle-size": "^1.0.1", "rollup-plugin-es3": "^1.1.0", - "rollup-plugin-import-map": "^2.2.1", + "rollup-plugin-import-map": "^2.2.2", "rollup-plugin-postcss": "^2.9.0", "rollup-plugin-terser": "^5.3.0", "rollup-plugin-typescript2": "^0.25.3", From 73bbda45285a5a8fbac8528bb4feead950970233 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 11 Dec 2020 11:52:37 +0100 Subject: [PATCH 13/20] chore: bump dep to fix node v14 compat --- package-lock.json | 6 +++--- src/index.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index e8342523..cac68c7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13646,9 +13646,9 @@ } }, "rollup-plugin-import-map": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-import-map/-/rollup-plugin-import-map-2.2.0.tgz", - "integrity": "sha512-u7AOwcNGMJUFrFSlacQShfrN+r6dcWeD9Q3WRuSW9ZfFuqqTtQgtggsHSAl04dar76hXGVqP/zZp7gJWd/Gltw==" + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-import-map/-/rollup-plugin-import-map-2.2.2.tgz", + "integrity": "sha512-y97Myu5kvuIoLrfSxRd90ytjv4wbOFCoWdi1pKVRfE8eOAcJqUOyPCLM4y3gw2u276dB/pLSFi48cl29SatXPw==" }, "rollup-plugin-postcss": { "version": "2.9.0", diff --git a/src/index.js b/src/index.js index 4c87f8e8..61676958 100644 --- a/src/index.js +++ b/src/index.js @@ -9,7 +9,7 @@ import autoprefixer from 'autoprefixer'; import cssnano from 'cssnano'; import { rollup, watch } from 'rollup'; import builtinModules from 'builtin-modules'; -import { rollupImportMapPlugin as importMap } from 'rollup-plugin-import-map/dist/lib/plugin.js'; +import { rollupImportMapPlugin as importMap } from 'rollup-plugin-import-map'; import commonjs from '@rollup/plugin-commonjs'; import babel from '@rollup/plugin-babel'; import customBabel from './lib/babel-custom'; From d54c54911bb117f2df5bbb052faee307f3fd7e1b Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Sat, 19 Dec 2020 04:52:09 +0100 Subject: [PATCH 14/20] Update package-lock.json --- package-lock.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package-lock.json b/package-lock.json index 5cd9089f..37d08b7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12494,6 +12494,11 @@ } } }, + "rollup-plugin-import-map": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-import-map/-/rollup-plugin-import-map-2.2.2.tgz", + "integrity": "sha512-y97Myu5kvuIoLrfSxRd90ytjv4wbOFCoWdi1pKVRfE8eOAcJqUOyPCLM4y3gw2u276dB/pLSFi48cl29SatXPw==" + }, "rollup-plugin-postcss": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/rollup-plugin-postcss/-/rollup-plugin-postcss-4.0.0.tgz", From ac8004dec9b47343c42b863e50619de9d69f3df2 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Sat, 19 Dec 2020 04:52:33 +0100 Subject: [PATCH 15/20] update snapshots --- package.json | 1 + test/__snapshots__/index.test.js.snap | 403 ++++++++++++++------------ 2 files changed, 221 insertions(+), 183 deletions(-) diff --git a/package.json b/package.json index 99578512..b6396c77 100644 --- a/package.json +++ b/package.json @@ -104,6 +104,7 @@ "pretty-bytes": "^5.4.1", "rollup": "^2.35.1", "rollup-plugin-bundle-size": "^1.0.3", + "rollup-plugin-import-map": "^2.2.2", "rollup-plugin-postcss": "^4.0.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.29.0", diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index c40e56fa..62b8d10d 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -169,8 +169,8 @@ Build \\"asyncTs\\" to dist: 72 B: async-ts.js.br 112 B: async-ts.esm.js.gz 91 B: async-ts.esm.js.br -202 B: async-ts.umd.js.gz -159 B: async-ts.umd.js.br" +200 B: async-ts.umd.js.gz +156 B: async-ts.umd.js.br" `; exports[`fixtures build async-ts with microbundle 2`] = `7`; @@ -188,7 +188,7 @@ exports[`fixtures build async-ts with microbundle 4`] = ` `; exports[`fixtures build async-ts with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?n(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],n):n((e=e||self).asyncTs={})}(this,function(e){e.MyClass=function(){function e(){}return e.prototype.foo=function(){return Promise.resolve()},e}()}); +"!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=function(){function e(){}return e.prototype.foo=function(){return Promise.resolve()},e}()}); //# sourceMappingURL=async-ts.umd.js.map " `; @@ -224,8 +224,8 @@ Build \\"basicLib\\" to dist: 138 B: basic-lib.js.br 188 B: basic-lib.esm.js.gz 139 B: basic-lib.esm.js.br -274 B: basic-lib.umd.js.gz -219 B: basic-lib.umd.js.br" +273 B: basic-lib.umd.js.gz +211 B: basic-lib.umd.js.br" `; exports[`fixtures build basic with microbundle 2`] = `6`; @@ -243,7 +243,7 @@ exports[`fixtures build basic with microbundle 4`] = ` `; exports[`fixtures build basic with microbundle 5`] = ` -"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):(e=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)}}}); +"!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)}}}); //# sourceMappingURL=basic-lib.umd.js.map " `; @@ -433,6 +433,7 @@ Directory tree: basic-css dist basic-css.css + basic-css.css.map basic-css.esm.js basic-css.esm.js.map basic-css.js @@ -448,18 +449,21 @@ basic-css Build \\"basicCss\\" to dist: 107 B: basic-css.js.gz 60 B: basic-css.js.br -106 B: basic-css.esm.js.gz -56 B: basic-css.esm.js.br +109 B: basic-css.esm.js.gz +67 B: basic-css.esm.js.br 195 B: basic-css.umd.js.gz -134 B: basic-css.umd.js.br" +138 B: basic-css.umd.js.br" `; -exports[`fixtures build basic-css with microbundle 2`] = `7`; +exports[`fixtures build basic-css with microbundle 2`] = `8`; -exports[`fixtures build basic-css with microbundle 3`] = `"._rHGVB{display:flex;color:red;background:#00f}"`; +exports[`fixtures build basic-css with microbundle 3`] = ` +".testing{display:flex;color:red;background:#00f} +/*# sourceMappingURL=basic-css.css.map */" +`; exports[`fixtures build basic-css with microbundle 4`] = ` -"export default function(){var e=document.createElement(\\"div\\");return e.className=\\"testing\\",e} +"function e(){var e=document.createElement(\\"div\\");return e.className=\\"testing\\",e}export default e; //# sourceMappingURL=basic-css.esm.js.map " `; @@ -471,7 +475,7 @@ exports[`fixtures build basic-css with microbundle 5`] = ` `; exports[`fixtures build basic-css with microbundle 6`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).basicCss=n()}(this,function(){return function(){var e=document.createElement(\\"div\\");return e.className=\\"testing\\",e}}); +"!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}}); //# sourceMappingURL=basic-css.umd.js.map " `; @@ -496,12 +500,12 @@ basic-dashed-external Build \\"basicDashedExternal\\" to dist: -248 B: basic-dashed-external.js.gz -188 B: basic-dashed-external.js.br +259 B: basic-dashed-external.js.gz +196 B: basic-dashed-external.js.br 214 B: basic-dashed-external.esm.js.gz 164 B: basic-dashed-external.esm.js.br -349 B: basic-dashed-external.umd.js.gz -281 B: basic-dashed-external.umd.js.br" +343 B: basic-dashed-external.umd.js.gz +286 B: basic-dashed-external.umd.js.br" `; exports[`fixtures build basic-dashed-external with microbundle 2`] = `6`; @@ -513,13 +517,13 @@ exports[`fixtures build basic-dashed-external with microbundle 3`] = ` `; exports[`fixtures build basic-dashed-external with microbundle 4`] = ` -"var e,r=(e=require(\\"tiny-glob\\"))&&\\"object\\"==typeof e&&\\"default\\"in e?e.default:e,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(r),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)}}; +"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(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)}}; //# sourceMappingURL=basic-dashed-external.js.map " `; exports[`fixtures build basic-dashed-external with microbundle 5`] = ` -"!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=e||self).basicDashedExternal=t(e.tinyGlob)}(this,function(e){e=e&&Object.prototype.hasOwnProperty.call(e,\\"default\\")?e.default:e;var t=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(e),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(t){return[e,t]})})}catch(e){return Promise.reject(e)}}}); +"!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(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)}}}); //# sourceMappingURL=basic-dashed-external.umd.js.map " `; @@ -548,8 +552,8 @@ Build \\"basicLibFlow\\" to dist: 43 B: basic-lib-flow.js.br 56 B: basic-lib-flow.esm.js.gz 42 B: basic-lib-flow.esm.js.br -172 B: basic-lib-flow.umd.js.gz -133 B: basic-lib-flow.umd.js.br" +171 B: basic-lib-flow.umd.js.gz +132 B: basic-lib-flow.umd.js.br" `; exports[`fixtures build basic-flow with microbundle 2`] = `6`; @@ -567,7 +571,7 @@ exports[`fixtures build basic-flow with microbundle 4`] = ` `; exports[`fixtures build basic-flow with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=[\\"banana\\",\\"raspberry\\"]:\\"function\\"==typeof define&&define.amd?define(function(){return[\\"banana\\",\\"raspberry\\"]}):(e=e||self).basicLibFlow=[\\"banana\\",\\"raspberry\\"]}(this); +"!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); //# sourceMappingURL=basic-lib-flow.umd.js.map " `; @@ -596,8 +600,8 @@ Build \\"basicJson\\" to dist: 65 B: basic-json.js.br 92 B: basic-json.esm.js.gz 64 B: basic-json.esm.js.br -181 B: basic-json.umd.js.gz -134 B: basic-json.umd.js.br" +180 B: basic-json.umd.js.gz +129 B: basic-json.umd.js.br" `; exports[`fixtures build basic-json with microbundle 2`] = `6`; @@ -615,7 +619,7 @@ exports[`fixtures build basic-json with microbundle 4`] = ` `; exports[`fixtures build basic-json with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).basicJson=n()}(this,function(){var e={test:\\"true\\"};return function(){return Promise.resolve(e)}}); +"!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)}}); //# sourceMappingURL=basic-json.umd.js.map " `; @@ -847,14 +851,14 @@ Build \\"basicNoPkgMain\\" to dist: 138 B: basic-no-pkg-main.js.br 188 B: basic-no-pkg-main.js.gz 139 B: basic-no-pkg-main.js.br -279 B: basic-no-pkg-main.js.gz +278 B: basic-no-pkg-main.js.gz 229 B: basic-no-pkg-main.js.br" `; exports[`fixtures build basic-no-pkg-main with microbundle 2`] = `2`; exports[`fixtures build basic-no-pkg-main with microbundle 3`] = ` -"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):(e=e||self).basicNoPkgMain=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)}}}); +"!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)}}}); //# sourceMappingURL=basic-no-pkg-main.js.map " `; @@ -928,8 +932,8 @@ Build \\"basicLibTs\\" to dist: 76 B: basic-lib-ts.js.br 104 B: basic-lib-ts.esm.js.gz 82 B: basic-lib-ts.esm.js.br -187 B: basic-lib-ts.umd.js.gz -144 B: basic-lib-ts.umd.js.br" +186 B: basic-lib-ts.umd.js.gz +141 B: basic-lib-ts.umd.js.br" `; exports[`fixtures build basic-ts with microbundle 2`] = `8`; @@ -947,7 +951,7 @@ exports[`fixtures build basic-ts with microbundle 4`] = ` `; exports[`fixtures build basic-ts with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).basicLibTs=n()}(this,function(){return new(function(){function e(){}return e.prototype.drive=function(e){return!0},e}())}); +"!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(function(){function e(){}return e.prototype.drive=function(e){return!0},e}())}); //# sourceMappingURL=basic-lib-ts.umd.js.map " `; @@ -995,8 +999,8 @@ Build \\"basicLibTsx\\" to dist: 153 B: basic-lib-tsx.js.br 200 B: basic-lib-tsx.esm.js.gz 153 B: basic-lib-tsx.esm.js.br -282 B: basic-lib-tsx.umd.js.gz -221 B: basic-lib-tsx.umd.js.br" +281 B: basic-lib-tsx.umd.js.gz +217 B: basic-lib-tsx.umd.js.br" `; exports[`fixtures build basic-tsx with microbundle 2`] = `7`; @@ -1014,7 +1018,7 @@ exports[`fixtures build basic-tsx with microbundle 4`] = ` `; exports[`fixtures build basic-tsx with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).basicLibTsx=n()}(this,function(){var e=function(e,n){return{tag:e,props:n,children:[].slice.call(arguments,2)}};return 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}()}); +"!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)}};return 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}()}); //# sourceMappingURL=basic-lib-tsx.umd.js.map " `; @@ -1050,8 +1054,8 @@ Build \\"basic\\" to dist: 138 B: basic.js.br 188 B: basic.esm.js.gz 139 B: basic.esm.js.br -271 B: basic.umd.js.gz -202 B: basic.umd.js.br" +269 B: basic.umd.js.gz +198 B: basic.umd.js.br" `; exports[`fixtures build basic-with-cwd with microbundle 2`] = `6`; @@ -1069,7 +1073,7 @@ exports[`fixtures build basic-with-cwd with microbundle 4`] = ` `; exports[`fixtures build basic-with-cwd with microbundle 5`] = ` -"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):(e=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)}}}); +"!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)}}}); //# sourceMappingURL=basic.umd.js.map " `; @@ -1100,7 +1104,7 @@ Build \\"classDecoratorsTs\\" to dist: 276 B: class-decorators-ts.js.br 333 B: class-decorators-ts.esm.js.gz 278 B: class-decorators-ts.esm.js.br -401 B: class-decorators-ts.umd.js.gz +400 B: class-decorators-ts.umd.js.gz 341 B: class-decorators-ts.umd.js.br" `; @@ -1119,7 +1123,7 @@ exports[`fixtures build class-decorators-ts with microbundle 4`] = ` `; exports[`fixtures build class-decorators-ts with microbundle 5`] = ` -"!function(e,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=t():\\"function\\"==typeof define&&define.amd?define(t):(e=e||self).classDecoratorsTs=t()}(this,function(){var e=function(){function e(e){this.greeting=e}return e.prototype.greet=function(){return\\"Hello, \\"+this.greeting},e}();return new(e=function(e,t,n,o){var r,f=arguments.length,c=f<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(f<3?r(c):f>3?r(t,n,c):r(t,n))||c);return f>3&&c&&Object.defineProperty(t,n,c),c}([function(e){Object.seal(e),Object.seal(e.prototype)}],e))(\\"Hello World\\")}); +"!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=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\\")}); //# sourceMappingURL=class-decorators-ts.umd.js.map " `; @@ -1158,7 +1162,7 @@ Build \\"classProperties\\" to dist: 79 B: class-properties.js.br 96 B: class-properties.esm.js.gz 85 B: class-properties.esm.js.br -198 B: class-properties.umd.js.gz +197 B: class-properties.umd.js.gz 150 B: class-properties.umd.js.br" `; @@ -1177,7 +1181,7 @@ exports[`fixtures build class-properties with microbundle 4`] = ` `; exports[`fixtures build class-properties with microbundle 5`] = ` -"!function(e,o){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?o(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],o):o((e=e||self).classProperties={})}(this,function(e){var o=function(){this.baz=3};o.bar=2;var t=new o;e.Foo=o,e.default=t}); +"!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}); //# sourceMappingURL=class-properties.umd.js.map " `; @@ -1203,21 +1207,18 @@ css-modules--false Build \\"cssModulesFalse\\" to dist: 49 B: css-modules--false.js.gz 23 B: css-modules--false.js.br -48 B: css-modules--false.esm.js.gz -32 B: css-modules--false.esm.js.br -157 B: css-modules--false.umd.js.gz -110 B: css-modules--false.umd.js.br" +52 B: css-modules--false.esm.js.gz +36 B: css-modules--false.esm.js.br +156 B: css-modules--false.umd.js.gz +109 B: css-modules--false.umd.js.br" `; exports[`fixtures build css-modules--false with microbundle 2`] = `4`; -exports[`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}" -`; +exports[`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}"`; exports[`fixtures build css-modules--false with microbundle 4`] = ` -"export default function(){} +"function t(){}export default t; " `; @@ -1227,7 +1228,7 @@ exports[`fixtures build css-modules--false with microbundle 5`] = ` `; exports[`fixtures build css-modules--false with microbundle 6`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=function(){}:\\"function\\"==typeof define&&define.amd?define(function(){return function(){}}):(e=e||self).cssModulesFalse=function(){}}(this); +"!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); " `; @@ -1252,21 +1253,18 @@ css-modules--null Build \\"cssModulesNull\\" to dist: 110 B: css-modules--null.js.gz 72 B: css-modules--null.js.br -109 B: css-modules--null.esm.js.gz -70 B: css-modules--null.esm.js.br -201 B: css-modules--null.umd.js.gz -142 B: css-modules--null.umd.js.br" +112 B: css-modules--null.esm.js.gz +77 B: css-modules--null.esm.js.br +200 B: css-modules--null.umd.js.gz +140 B: css-modules--null.umd.js.br" `; exports[`fixtures build css-modules--null with microbundle 2`] = `4`; -exports[`fixtures build css-modules--null with microbundle 3`] = ` -"body{display:flex;color:red;background:#00f}._2Dgv6{background-color:#00f} -._2kWDE{color:pink}" -`; +exports[`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}"`; exports[`fixtures build css-modules--null with microbundle 4`] = ` -"export default function(){var e=document.createElement(\\"div\\");return e.className=\\"_2kWDE\\",e} +"function e(){var e=document.createElement(\\"div\\");return e.className=\\"_2kWDE\\",e}export default e; " `; @@ -1276,7 +1274,7 @@ exports[`fixtures build css-modules--null with microbundle 5`] = ` `; exports[`fixtures build css-modules--null with microbundle 6`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).cssModulesNull=n()}(this,function(){return function(){var e=document.createElement(\\"div\\");return e.className=\\"_2kWDE\\",e}}); +"!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}}); " `; @@ -1301,21 +1299,18 @@ css-modules--string Build \\"cssModulesString\\" to dist: 166 B: css-modules--string.js.gz 118 B: css-modules--string.js.br -166 B: css-modules--string.esm.js.gz -117 B: css-modules--string.esm.js.br -264 B: css-modules--string.umd.js.gz -193 B: css-modules--string.umd.js.br" +168 B: css-modules--string.esm.js.gz +122 B: css-modules--string.esm.js.br +263 B: css-modules--string.umd.js.gz +192 B: css-modules--string.umd.js.br" `; exports[`fixtures build css-modules--string with microbundle 2`] = `4`; -exports[`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}" -`; +exports[`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}"`; exports[`fixtures build css-modules--string with microbundle 4`] = ` -"export default function(){var a=document.createElement(\\"div\\");return a.className=\\"_contains_this_0a8c24df242c2cd708036873307aea94 _contains_this_81567d0efc15a456670452d3277e1a68\\",a} +"function a(){var a=document.createElement(\\"div\\");return a.className=\\"_contains_this_0a8c24df242c2cd708036873307aea94 _contains_this_81567d0efc15a456670452d3277e1a68\\",a}export default a; " `; @@ -1325,7 +1320,7 @@ exports[`fixtures build css-modules--string with microbundle 5`] = ` `; exports[`fixtures build css-modules--string with microbundle 6`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).cssModulesString=n()}(this,function(){return function(){var e=document.createElement(\\"div\\");return e.className=\\"_contains_this_0a8c24df242c2cd708036873307aea94 _contains_this_81567d0efc15a456670452d3277e1a68\\",e}}); +"!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}}); " `; @@ -1348,33 +1343,30 @@ css-modules--true Build \\"cssModulesTrue\\" to dist: -118 B: css-modules--true.js.gz -80 B: css-modules--true.js.br -117 B: css-modules--true.esm.js.gz -77 B: css-modules--true.esm.js.br -212 B: css-modules--true.umd.js.gz -149 B: css-modules--true.umd.js.br" +139 B: css-modules--true.js.gz +94 B: css-modules--true.js.br +141 B: css-modules--true.esm.js.gz +108 B: css-modules--true.esm.js.br +230 B: css-modules--true.umd.js.gz +165 B: css-modules--true.umd.js.br" `; exports[`fixtures build css-modules--true with microbundle 2`] = `4`; -exports[`fixtures build css-modules--true with microbundle 3`] = ` -"body{display:flex;color:red;background:#00f}._1E6DU{background-color:#00f} -._2kWDE{color:pink}" -`; +exports[`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}"`; exports[`fixtures build css-modules--true with microbundle 4`] = ` -"export default function(){var e=document.createElement(\\"div\\");return e.className=\\"_2kWDE _1E6DU\\",e} +"function e(){var e=document.createElement(\\"div\\");return e.className=\\"_2kWDE \\"+(void 0).test_class_that_should_be_scoped,e}export default e; " `; exports[`fixtures build css-modules--true with microbundle 5`] = ` -"module.exports=function(){var e=document.createElement(\\"div\\");return e.className=\\"_2kWDE _1E6DU\\",e}; +"module.exports=function(){var e=document.createElement(\\"div\\");return e.className=\\"_2kWDE \\"+(void 0).test_class_that_should_be_scoped,e}; " `; exports[`fixtures build css-modules--true with microbundle 6`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).cssModulesTrue=n()}(this,function(){return function(){var e=document.createElement(\\"div\\");return e.className=\\"_2kWDE _1E6DU\\",e}}); +"!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}}); " `; @@ -1397,30 +1389,30 @@ custom-babelrc Build \\"customBabelrc\\" to dist: -215 B: custom-babelrc.js.gz -174 B: custom-babelrc.js.br -219 B: custom-babelrc.esm.js.gz -177 B: custom-babelrc.esm.js.br -307 B: custom-babelrc.umd.js.gz -258 B: custom-babelrc.umd.js.br" +218 B: custom-babelrc.js.gz +193 B: custom-babelrc.js.br +222 B: custom-babelrc.esm.js.gz +185 B: custom-babelrc.esm.js.br +309 B: custom-babelrc.umd.js.gz +260 B: custom-babelrc.umd.js.br" `; exports[`fixtures build custom-babelrc with microbundle 2`] = `6`; exports[`fixtures build custom-babelrc with microbundle 3`] = ` -"class e{constructor(){var e;e=[\\"foo\\",\\"bar\\"],\\"myFields\\"in this?Object.defineProperty(this,\\"myFields\\",{value:e,enumerable:!0,configurable:!0,writable:!0}):this.myFields=e}foo(){try{return Promise.resolve(this.myFields.find(e=>\\"bar\\"===e))}catch(e){return Promise.reject(e)}}}export{e as MyClass}; +"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}; //# sourceMappingURL=custom-babelrc.esm.js.map " `; exports[`fixtures build custom-babelrc with microbundle 4`] = ` -"exports.MyClass=class{constructor(){var e;e=[\\"foo\\",\\"bar\\"],\\"myFields\\"in this?Object.defineProperty(this,\\"myFields\\",{value:e,enumerable:!0,configurable:!0,writable:!0}):this.myFields=e}foo(){try{return Promise.resolve(this.myFields.find(e=>\\"bar\\"===e))}catch(e){return Promise.reject(e)}}}; +"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)}}}; //# sourceMappingURL=custom-babelrc.js.map " `; exports[`fixtures build custom-babelrc with microbundle 5`] = ` -"!function(e,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?t(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],t):t((e=e||self).customBabelrc={})}(this,function(e){e.MyClass=class{constructor(){var e;e=[\\"foo\\",\\"bar\\"],\\"myFields\\"in this?Object.defineProperty(this,\\"myFields\\",{value:e,enumerable:!0,configurable:!0,writable:!0}):this.myFields=e}foo(){try{return Promise.resolve(this.myFields.find(e=>\\"bar\\"===e))}catch(e){return Promise.reject(e)}}}}); +"!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)}}}}); //# sourceMappingURL=custom-babelrc.umd.js.map " `; @@ -1449,8 +1441,8 @@ Build \\"customSource\\" to dist: 138 B: custom-source.js.br 188 B: custom-source.esm.js.gz 139 B: custom-source.esm.js.br -276 B: custom-source.umd.js.gz -205 B: custom-source.umd.js.br" +275 B: custom-source.umd.js.gz +203 B: custom-source.umd.js.br" `; exports[`fixtures build custom-source with microbundle 2`] = `6`; @@ -1468,7 +1460,7 @@ exports[`fixtures build custom-source with microbundle 4`] = ` `; exports[`fixtures build custom-source with microbundle 5`] = ` -"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):(e=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,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(e){return Promise.reject(e)}}}); +"!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)}}}); //# sourceMappingURL=custom-source.umd.js.map " `; @@ -1497,8 +1489,8 @@ Build \\"customSrc\\" to dist: 138 B: custom-src.js.br 188 B: custom-src.esm.js.gz 139 B: custom-src.esm.js.br -274 B: custom-src.umd.js.gz -222 B: custom-src.umd.js.br" +273 B: custom-src.umd.js.gz +203 B: custom-src.umd.js.br" `; exports[`fixtures build custom-source-with-cwd with microbundle 2`] = `6`; @@ -1516,7 +1508,7 @@ exports[`fixtures build custom-source-with-cwd with microbundle 4`] = ` `; exports[`fixtures build custom-source-with-cwd with microbundle 5`] = ` -"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):(e=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,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(e){return Promise.reject(e)}}}); +"!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)}}}); //# sourceMappingURL=custom-src.umd.js.map " `; @@ -1542,16 +1534,16 @@ default-named Build \\"defaultNamed\\" to dist: 60 B: default-named.js.gz 46 B: default-named.js.br -70 B: default-named.esm.js.gz -58 B: default-named.esm.js.br -170 B: default-named.umd.js.gz -124 B: default-named.umd.js.br" +74 B: default-named.esm.js.gz +62 B: default-named.esm.js.br +169 B: default-named.umd.js.gz +122 B: default-named.umd.js.br" `; exports[`fixtures build default-named with microbundle 2`] = `6`; exports[`fixtures build default-named with microbundle 3`] = ` -"var t=42;export default function(){}export{t as foo}; +"var t=42;function e(){}export default e;export{t as foo}; //# sourceMappingURL=default-named.esm.js.map " `; @@ -1563,7 +1555,7 @@ exports[`fixtures build default-named with microbundle 4`] = ` `; exports[`fixtures build default-named with microbundle 5`] = ` -"!function(e,f){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?f(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],f):f((e=e||self).defaultNamed={})}(this,function(e){e.default=function(){},e.foo=42}); +"!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}); //# sourceMappingURL=default-named.umd.js.map " `; @@ -1659,7 +1651,7 @@ Build \\"esnextTs\\" to dist: 990 B: esnext-ts.esm.js.gz 881 B: esnext-ts.esm.js.br 1050 B: esnext-ts.umd.js.gz -937 B: esnext-ts.umd.js.br" +932 B: esnext-ts.umd.js.br" `; exports[`fixtures build esnext-ts with microbundle 2`] = `7`; @@ -1677,7 +1669,7 @@ exports[`fixtures build esnext-ts with microbundle 4`] = ` `; exports[`fixtures build esnext-ts with microbundle 5`] = ` -"!function(n,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=t():\\"function\\"==typeof define&&define.amd?define(t):(n=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,h=[],c=!0,v=!1,a=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(r(f)&&(f=f.v),!f)return h;if(f.then){u=0;break}var h=o();if(h&&h.then){if(!r(h)){u=1;break}h=h.s}if(i){var c=i();if(c&&c.then&&!r(c)){u=2;break}}}var v=new e,a=n.bind(null,v,2);return(0===u?f.then(s):1===u?h.then(l):c.then(d)).then(void 0,a),v;function l(e){h=e;do{if(i&&(c=i())&&c.then&&!r(c))return void c.then(d).then(void 0,a);if(!(f=t())||r(f)&&!f.v)return void n(v,1,h);if(f.then)return void f.then(s).then(void 0,a);r(h=o())&&(h=h.v)}while(!h||!h.then);h.then(l).then(void 0,a)}function s(t){t?(h=o())&&h.then?h.then(l).then(void 0,a):l(h):n(v,1,h)}function d(){(f=t())?f.then?f.then(s).then(void 0,a):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,e){function r(t){if(n)throw e;return e}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(r):r()});return Promise.resolve(a&&a.then?a.then(function(n){return h}):h)}catch(n){return Promise.reject(n)}},e=function(){function t(){}return t.prototype.then=function(e,r){var i=new t,o=this.s;if(o){var u=1&o?e:r;if(u){try{n(i,1,u(this.v))}catch(t){n(i,2,t)}return i}return this}return this.o=function(t){try{var 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}); +"!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,h=[],c=!0,l=!1,a=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 h;if(f.then){u=0;break}var h=o();if(h&&h.then){if(!r(h)){u=1;break}h=h.s}if(i){var c=i();if(c&&c.then&&!r(c)){u=2;break}}}var l=new e,a=n.bind(null,l,2);return(0===u?f.then(s):1===u?h.then(v):c.then(d)).then(void 0,a),l;function v(e){h=e;do{if(i&&(c=i())&&c.then&&!r(c))return void c.then(d).then(void 0,a);if(!(f=t())||r(f)&&!f.v)return void n(l,1,h);if(f.then)return void f.then(s).then(void 0,a);r(h=o())&&(h=h.v)}while(!h||!h.then);h.then(v).then(void 0,a)}function s(t){t?(h=o())&&h.then?h.then(v).then(void 0,a):v(h):n(l,1,h)}function d(){(f=t())?f.then?f.then(s).then(void 0,a):s(f):n(l,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 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(!c&&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(a&&a.then?a.then(function(n){return h}):h)}catch(n){return Promise.reject(n)}},e=function(){function t(){}return t.prototype.then=function(e,r){var i=new t,o=this.s;if(o){var u=1&o?e:r;if(u){try{n(i,1,u(this.v))}catch(t){n(i,2,t)}return i}return this}return this.o=function(t){try{var 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}); //# sourceMappingURL=esnext-ts.umd.js.map " `; @@ -1714,6 +1706,51 @@ exports[`fixtures build import-map with microbundle 3`] = ` " `; +exports[`fixtures build inline-source-map with microbundle 1`] = ` +"Used script: microbundle --sourcemap inline + +Directory tree: + +inline-source-map + dist + inline-source-map.esm.js + inline-source-map.js + inline-source-map.umd.js + package.json + src + index.js + two.js + + +Build \\"inlineSourceMap\\" to dist: +187 B: inline-source-map.js.gz +138 B: inline-source-map.js.br +188 B: inline-source-map.esm.js.gz +139 B: inline-source-map.esm.js.br +278 B: inline-source-map.umd.js.gz +217 B: inline-source-map.umd.js.br" +`; + +exports[`fixtures build inline-source-map with microbundle 2`] = `3`; + +exports[`fixtures build inline-source-map with microbundle 3`] = ` +"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)}} +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAuZXNtLmpzIiwic291cmNlcyI6WyIuLi9zcmMvdHdvLmpzIiwiLi4vc3JjL2luZGV4LmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBhc3luYyBmdW5jdGlvbiB0d28oLi4uYXJncykge1xuXHRyZXR1cm4gYXJncy5yZWR1Y2UoKHRvdGFsLCB2YWx1ZSkgPT4gdG90YWwgKyB2YWx1ZSwgMCk7XG59XG4iLCJpbXBvcnQgeyB0d28gfSBmcm9tICcuL3R3byc7XG5cbmV4cG9ydCBkZWZhdWx0IGFzeW5jIGZ1bmN0aW9uICguLi5hcmdzKSB7XG5cdHJldHVybiBbYXdhaXQgdHdvKC4uLmFyZ3MpLCBhd2FpdCB0d28oLi4uYXJncyldO1xufVxuIl0sIm5hbWVzIjpbInR3byIsInJlZHVjZSIsInRvdGFsIiwidmFsdWUiLCJhcmdzIl0sIm1hcHBpbmdzIjoiSUFBc0JBLGlDQUNyQix1QkFBTyxpQkFBS0MsT0FBTyxTQUFDQyxFQUFPQyxVQUFVRCxFQUFRQyxHQUFPLElBRHJELGtGQ0VrQ0MsMENBQ25CSixlQUFPSSw0Q0FBYUosZUFBT0kscUJBQXpDLE1BQU8sVUFEUiJ9 +" +`; + +exports[`fixtures build inline-source-map with microbundle 4`] = ` +"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)}}; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAuanMiLCJzb3VyY2VzIjpbIi4uL3NyYy90d28uanMiLCIuLi9zcmMvaW5kZXguanMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIHR3byguLi5hcmdzKSB7XG5cdHJldHVybiBhcmdzLnJlZHVjZSgodG90YWwsIHZhbHVlKSA9PiB0b3RhbCArIHZhbHVlLCAwKTtcbn1cbiIsImltcG9ydCB7IHR3byB9IGZyb20gJy4vdHdvJztcblxuZXhwb3J0IGRlZmF1bHQgYXN5bmMgZnVuY3Rpb24gKC4uLmFyZ3MpIHtcblx0cmV0dXJuIFthd2FpdCB0d28oLi4uYXJncyksIGF3YWl0IHR3byguLi5hcmdzKV07XG59XG4iXSwibmFtZXMiOlsidHdvIiwicmVkdWNlIiwidG90YWwiLCJ2YWx1ZSIsImFyZ3MiXSwibWFwcGluZ3MiOiJJQUFzQkEsaUNBQ3JCLHVCQUFPLGlCQUFLQyxPQUFPLFNBQUNDLEVBQU9DLFVBQVVELEVBQVFDLEdBQU8sSUFEckQsa0ZDRWtDQywwQ0FDbkJKLGVBQU9JLDRDQUFhSixlQUFPSSxxQkFBekMsTUFBTyxVQURSIn0= +" +`; + +exports[`fixtures build inline-source-map with microbundle 5`] = ` +"!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)}}}); +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAudW1kLmpzIiwic291cmNlcyI6WyIuLi9zcmMvdHdvLmpzIiwiLi4vc3JjL2luZGV4LmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBhc3luYyBmdW5jdGlvbiB0d28oLi4uYXJncykge1xuXHRyZXR1cm4gYXJncy5yZWR1Y2UoKHRvdGFsLCB2YWx1ZSkgPT4gdG90YWwgKyB2YWx1ZSwgMCk7XG59XG4iLCJpbXBvcnQgeyB0d28gfSBmcm9tICcuL3R3byc7XG5cbmV4cG9ydCBkZWZhdWx0IGFzeW5jIGZ1bmN0aW9uICguLi5hcmdzKSB7XG5cdHJldHVybiBbYXdhaXQgdHdvKC4uLmFyZ3MpLCBhd2FpdCB0d28oLi4uYXJncyldO1xufVxuIl0sIm5hbWVzIjpbInR3byIsInJlZHVjZSIsInRvdGFsIiwidmFsdWUiLCJhcmdzIl0sIm1hcHBpbmdzIjoic09BQXNCQSxpQ0FDckIsdUJBQU8saUJBQUtDLE9BQU8sU0FBQ0MsRUFBT0MsVUFBVUQsRUFBUUMsR0FBTyxJQURyRCwwRUNFa0NDLDBDQUNuQkosZUFBT0ksNENBQWFKLGVBQU9JLHFCQUF6QyxNQUFPLFVBRFIifQ== +" +`; + exports[`fixtures build jsx with microbundle 1`] = ` "Used script: microbundle @@ -1736,7 +1773,7 @@ Build \\"jsx\\" to dist: 179 B: jsx.js.br 223 B: jsx.esm.js.gz 193 B: jsx.esm.js.br -298 B: jsx.umd.js.gz +297 B: jsx.umd.js.gz 236 B: jsx.umd.js.br" `; @@ -1755,7 +1792,7 @@ exports[`fixtures build jsx with microbundle 4`] = ` `; exports[`fixtures build jsx with microbundle 5`] = ` -"!function(n,e){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=e():\\"function\\"==typeof define&&define.amd?define(e):(n=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};return 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}()}); +"!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};return 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}()}); //# sourceMappingURL=jsx.umd.js.map " `; @@ -1784,8 +1821,8 @@ Build \\"macroLib\\" to dist: 33 B: macro-lib.js.br 48 B: macro-lib.esm.js.gz 32 B: macro-lib.esm.js.br -157 B: macro-lib.umd.js.gz -125 B: macro-lib.umd.js.br" +156 B: macro-lib.umd.js.gz +126 B: macro-lib.umd.js.br" `; exports[`fixtures build macro with microbundle 2`] = `6`; @@ -1803,7 +1840,7 @@ exports[`fixtures build macro with microbundle 4`] = ` `; exports[`fixtures build macro with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=\\"name-macro\\":\\"function\\"==typeof define&&define.amd?define(function(){return\\"name-macro\\"}):(e=e||self).macroLib=\\"name-macro\\"}(this); +"!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); //# sourceMappingURL=macro-lib.umd.js.map " `; @@ -1831,16 +1868,16 @@ mangle-json-file Build \\"mangleJsonFile\\" to dist: 103 B: mangle-json-file.js.gz 89 B: mangle-json-file.js.br -103 B: mangle-json-file.esm.js.gz -95 B: mangle-json-file.esm.js.br -198 B: mangle-json-file.umd.js.gz -164 B: mangle-json-file.umd.js.br" +105 B: mangle-json-file.esm.js.gz +91 B: mangle-json-file.esm.js.br +196 B: mangle-json-file.umd.js.gz +171 B: mangle-json-file.umd.js.br" `; exports[`fixtures build mangle-json-file with microbundle 2`] = `6`; exports[`fixtures build mangle-json-file with microbundle 3`] = ` -"var o={prop1:1,__p2:2};export default function(){return console.log(o.prop1),console.log(o.__p2),o} +"var o={prop1:1,__p2:2};function r(){return console.log(o.prop1),console.log(o.__p2),o}export default r; //# sourceMappingURL=mangle-json-file.esm.js.map " `; @@ -1852,7 +1889,7 @@ exports[`fixtures build mangle-json-file with microbundle 4`] = ` `; exports[`fixtures build mangle-json-file with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).mangleJsonFile=n()}(this,function(){var e={prop1:1,__p2:2};return function(){return console.log(e.prop1),console.log(e.__p2),e}}); +"!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}}); //# sourceMappingURL=mangle-json-file.umd.js.map " `; @@ -1879,16 +1916,16 @@ minify-config Build \\"minifyConfig\\" to dist: 99 B: minify-config.js.gz 85 B: minify-config.js.br -99 B: minify-config.esm.js.gz -88 B: minify-config.esm.js.br -190 B: minify-config.umd.js.gz -144 B: minify-config.umd.js.br" +101 B: minify-config.esm.js.gz +87 B: minify-config.esm.js.br +189 B: minify-config.umd.js.gz +140 B: minify-config.umd.js.br" `; exports[`fixtures build minify-config with microbundle 2`] = `6`; exports[`fixtures build minify-config with microbundle 3`] = ` -"var o={prop1:1,o:2};export default function(){return console.log(o.prop1),console.log(o.o),o} +"var o={prop1:1,o:2};function r(){return console.log(o.prop1),console.log(o.o),o}export default r; //# sourceMappingURL=minify-config.esm.js.map " `; @@ -1900,7 +1937,7 @@ exports[`fixtures build minify-config with microbundle 4`] = ` `; exports[`fixtures build minify-config with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).minifyConfig=n()}(this,function(){var e={prop1:1,o:2};return function(){return console.log(e.prop1),console.log(e.o),e}}); +"!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}}); //# sourceMappingURL=minify-config.umd.js.map " `; @@ -1928,16 +1965,16 @@ minify-path-config Build \\"minifyPathConfig\\" to dist: 103 B: minify-path-config.js.gz 89 B: minify-path-config.js.br -103 B: minify-path-config.esm.js.gz -95 B: minify-path-config.esm.js.br -200 B: minify-path-config.umd.js.gz -155 B: minify-path-config.umd.js.br" +105 B: minify-path-config.esm.js.gz +91 B: minify-path-config.esm.js.br +198 B: minify-path-config.umd.js.gz +152 B: minify-path-config.umd.js.br" `; exports[`fixtures build minify-path-config with microbundle 2`] = `6`; exports[`fixtures build minify-path-config with microbundle 3`] = ` -"var o={prop1:1,__p2:2};export default function(){return console.log(o.prop1),console.log(o.__p2),o} +"var o={prop1:1,__p2:2};function r(){return console.log(o.prop1),console.log(o.__p2),o}export default r; //# sourceMappingURL=minify-path-config.esm.js.map " `; @@ -1949,7 +1986,7 @@ exports[`fixtures build minify-path-config with microbundle 4`] = ` `; exports[`fixtures build minify-path-config with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).minifyPathConfig=n()}(this,function(){var e={prop1:1,__p2:2};return function(){return console.log(e.prop1),console.log(e.__p2),e}}); +"!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}}); //# sourceMappingURL=minify-path-config.umd.js.map " `; @@ -1975,16 +2012,16 @@ minify-path-parent-dir Build \\"minifyPathParentDir\\" to dist: 103 B: minify-path-parent-dir.js.gz 89 B: minify-path-parent-dir.js.br -103 B: minify-path-parent-dir.esm.js.gz -95 B: minify-path-parent-dir.esm.js.br -202 B: minify-path-parent-dir.umd.js.gz -169 B: minify-path-parent-dir.umd.js.br" +105 B: minify-path-parent-dir.esm.js.gz +91 B: minify-path-parent-dir.esm.js.br +200 B: minify-path-parent-dir.umd.js.gz +161 B: minify-path-parent-dir.umd.js.br" `; exports[`fixtures build minify-path-parent-dir-with-cwd with microbundle 2`] = `6`; exports[`fixtures build minify-path-parent-dir-with-cwd with microbundle 3`] = ` -"var o={prop1:1,__p2:2};export default function(){return console.log(o.prop1),console.log(o.__p2),o} +"var o={prop1:1,__p2:2};function r(){return console.log(o.prop1),console.log(o.__p2),o}export default r; //# sourceMappingURL=minify-path-parent-dir.esm.js.map " `; @@ -1996,7 +2033,7 @@ exports[`fixtures build minify-path-parent-dir-with-cwd with microbundle 4`] = ` `; exports[`fixtures build minify-path-parent-dir-with-cwd with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):(e=e||self).minifyPathParentDir=n()}(this,function(){var e={prop1:1,__p2:2};return function(){return console.log(e.prop1),console.log(e.__p2),e}}); +"!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}}); //# sourceMappingURL=minify-path-parent-dir.umd.js.map " `; @@ -2017,14 +2054,14 @@ modern Build \\"modernLib\\" to dist: -110 B: modern-lib.modern.js.gz -90 B: modern-lib.modern.js.br" +113 B: modern-lib.modern.js.gz +92 B: modern-lib.modern.js.br" `; exports[`fixtures build modern with microbundle 2`] = `2`; exports[`fixtures build modern with microbundle 3`] = ` -"async function n(...n){return n.reduce((n,t)=>n+t,0)}export default async function(...t){return[await n(...t),await n(...t)]} +"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; //# sourceMappingURL=modern-lib.modern.js.map " `; @@ -2053,12 +2090,12 @@ modern-generators Build \\"modernGenerators\\" to dist: 234 B: modern-generators.js.gz 207 B: modern-generators.js.br -113 B: modern-generators.modern.js.gz -92 B: modern-generators.modern.js.br +118 B: modern-generators.modern.js.gz +99 B: modern-generators.modern.js.br 233 B: modern-generators.esm.js.gz 191 B: modern-generators.esm.js.br -311 B: modern-generators.umd.js.gz -256 B: modern-generators.umd.js.br" +310 B: modern-generators.umd.js.gz +257 B: modern-generators.umd.js.br" `; exports[`fixtures build modern-generators with microbundle 2`] = `8`; @@ -2076,13 +2113,13 @@ exports[`fixtures build modern-generators with microbundle 4`] = ` `; exports[`fixtures build modern-generators with microbundle 5`] = ` -"export default async function(){const e=function*(){let e=0;for(;;)yield e++}();return[e.next().value,e.next().value]} +"async function e(){const e=function*(){let e=0;for(;;)yield e++}();return[e.next().value,e.next().value]}export default e; //# sourceMappingURL=modern-generators.modern.js.map " `; exports[`fixtures build modern-generators with microbundle 6`] = ` -"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):(e=e||self).modernGenerators=r()}(this,function(){var e=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)}return function(){try{var e=r();return Promise.resolve([e.next().value,e.next().value])}catch(e){return Promise.reject(e)}}}); +"!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=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)}}}); //# sourceMappingURL=modern-generators.umd.js.map " `; @@ -2111,8 +2148,8 @@ Build \\"customNameAmd\\" to dist: 138 B: name-custom-amd.js.br 188 B: name-custom-amd.esm.js.gz 139 B: name-custom-amd.esm.js.br -278 B: name-custom-amd.umd.js.gz -226 B: name-custom-amd.umd.js.br" +277 B: name-custom-amd.umd.js.gz +208 B: name-custom-amd.umd.js.br" `; exports[`fixtures build name-custom-amd with microbundle 2`] = `6`; @@ -2130,7 +2167,7 @@ exports[`fixtures build name-custom-amd with microbundle 4`] = ` `; exports[`fixtures build name-custom-amd with microbundle 5`] = ` -"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):(e=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,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(e){return Promise.reject(e)}}}); +"!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)}}}); //# sourceMappingURL=name-custom-amd.umd.js.map " `; @@ -2159,8 +2196,8 @@ Build \\"nameCustomCli\\" to dist: 138 B: name-custom.js.br 188 B: name-custom.esm.js.gz 139 B: name-custom.esm.js.br -277 B: name-custom.umd.js.gz -225 B: name-custom.umd.js.br" +276 B: name-custom.umd.js.gz +215 B: name-custom.umd.js.br" `; exports[`fixtures build name-custom-cli with microbundle 2`] = `6`; @@ -2178,7 +2215,7 @@ exports[`fixtures build name-custom-cli with microbundle 4`] = ` `; exports[`fixtures build name-custom-cli with microbundle 5`] = ` -"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):(e=e||self).nameCustomCli=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)}}}); +"!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)}}}); //# sourceMappingURL=name-custom.umd.js.map " `; @@ -2206,8 +2243,8 @@ Build \\"noPkg\\" to dist: 138 B: no-pkg.js.br 188 B: no-pkg.esm.js.gz 139 B: no-pkg.esm.js.br -271 B: no-pkg.umd.js.gz -213 B: no-pkg.umd.js.br" +270 B: no-pkg.umd.js.gz +216 B: no-pkg.umd.js.br" `; exports[`fixtures build no-pkg with microbundle 2`] = `6`; @@ -2225,7 +2262,7 @@ exports[`fixtures build no-pkg with microbundle 4`] = ` `; exports[`fixtures build no-pkg with microbundle 5`] = ` -"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):(e=e||self).noPkg=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)}}}); +"!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)}}}); //# sourceMappingURL=no-pkg.umd.js.map " `; @@ -2254,8 +2291,8 @@ Build \\"noPkgName\\" to dist: 138 B: no-pkg-name.js.br 188 B: no-pkg-name.esm.js.gz 139 B: no-pkg-name.esm.js.br -275 B: no-pkg-name.umd.js.gz -215 B: no-pkg-name.umd.js.br" +274 B: no-pkg-name.umd.js.gz +219 B: no-pkg-name.umd.js.br" `; exports[`fixtures build no-pkg-name with microbundle 2`] = `6`; @@ -2273,7 +2310,7 @@ exports[`fixtures build no-pkg-name with microbundle 4`] = ` `; exports[`fixtures build no-pkg-name with microbundle 5`] = ` -"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):(e=e||self).noPkgName=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)}}}); +"!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)}}}); //# sourceMappingURL=no-pkg-name.umd.js.map " `; @@ -2304,8 +2341,8 @@ Build \\"optionalChainingTs\\" to dist: 88 B: optional-chaining-ts.js.br 111 B: optional-chaining-ts.esm.js.gz 97 B: optional-chaining-ts.esm.js.br -211 B: optional-chaining-ts.umd.js.gz -170 B: optional-chaining-ts.umd.js.br" +210 B: optional-chaining-ts.umd.js.gz +169 B: optional-chaining-ts.umd.js.br" `; exports[`fixtures build optional-chaining-ts with microbundle 2`] = `7`; @@ -2332,7 +2369,7 @@ exports[`fixtures build optional-chaining-ts with microbundle 5`] = ` `; exports[`fixtures build optional-chaining-ts with microbundle 6`] = ` -"!function(n,e){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?e(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],e):e((n=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}}); +"!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}}); //# sourceMappingURL=optional-chaining-ts.umd.js.map " `; @@ -2360,8 +2397,8 @@ Build \\"pretty\\" to dist: 5.19 kB: pretty.js.br 6.34 kB: pretty.esm.js.gz 5.21 kB: pretty.esm.js.br -6.47 kB: pretty.umd.js.gz -5.36 kB: pretty.umd.js.br" +6.46 kB: pretty.umd.js.gz +5.31 kB: pretty.umd.js.br" `; exports[`fixtures build pretty with microbundle 2`] = `6`; @@ -2379,7 +2416,7 @@ exports[`fixtures build pretty with microbundle 4`] = ` `; exports[`fixtures build pretty with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?n(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],n):n((e=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🏫📙🌌🕙🐥 👓🌑💎💸📹📒 👋🐎🍡🎾👸🗽 📢📓🌍🏮📳🔈 👶🐷🐭🎿🔴🗾🏬 🌆🔈🍡💞💭🎨. \\"}); +"!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🏫📙🌌🕙🐥 👓🌑💎💸📹📒 👋🐎🍡🎾👸🗽 📢📓🌍🏮📳🔈 👶🐷🐭🎿🔴🗾🏬 🌆🔈🍡💞💭🎨. \\"}); //# sourceMappingURL=pretty.umd.js.map " `; @@ -2407,8 +2444,8 @@ Build \\"pure\\" to dist: 44 B: pure.js.br 71 B: pure.esm.js.gz 49 B: pure.esm.js.br -168 B: pure.umd.js.gz -127 B: pure.umd.js.br" +167 B: pure.umd.js.gz +125 B: pure.umd.js.br" `; exports[`fixtures build pure with microbundle 2`] = `6`; @@ -2426,7 +2463,7 @@ exports[`fixtures build pure with microbundle 4`] = ` `; exports[`fixtures build pure with microbundle 5`] = ` -"!function(e,o){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?o(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],o):o((e=e||self).pure={})}(this,function(e){e.foo=function(){return\\"hello world\\"}}); +"!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\\"}}); //# sourceMappingURL=pure.umd.js.map " `; @@ -2454,8 +2491,8 @@ Build \\"raw\\" to dist: 1160 B: raw.js.br 1398 B: raw.esm.js.gz 1169 B: raw.esm.js.br -1502 B: raw.umd.js.gz -1250 B: raw.umd.js.br" +1500 B: raw.umd.js.gz +1248 B: raw.umd.js.br" `; exports[`fixtures build raw with microbundle 2`] = `6`; @@ -2473,7 +2510,7 @@ exports[`fixtures build raw with microbundle 4`] = ` `; exports[`fixtures build raw with microbundle 5`] = ` -"!function(e,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?t(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],t):t((e=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.\\"}); +"!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.\\"}); //# sourceMappingURL=raw.umd.js.map " `; @@ -2501,8 +2538,8 @@ Build \\"shebang\\" to dist: 62 B: shebang.js.br 89 B: shebang.esm.js.gz 70 B: shebang.esm.js.br -185 B: shebang.umd.js.gz -146 B: shebang.umd.js.br" +183 B: shebang.umd.js.gz +145 B: shebang.umd.js.br" `; exports[`fixtures build shebang with microbundle 2`] = `6`; @@ -2523,7 +2560,7 @@ exports.foo=function(){return\\"hello world\\"}; exports[`fixtures build shebang with microbundle 5`] = ` "#!/usr/bin/env node -!function(e,o){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?o(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],o):o((e=e||self).shebang={})}(this,function(e){e.foo=function(){return\\"hello world\\"}}); +!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\\"}}); //# sourceMappingURL=shebang.umd.js.map " `; @@ -2555,8 +2592,8 @@ Build \\"tsDeclarations\\" to dist: 33 B: index.js.br 61 B: index.esm.js.gz 45 B: index.esm.js.br -172 B: index.umd.js.gz -126 B: index.umd.js.br" +171 B: index.umd.js.gz +124 B: index.umd.js.br" `; exports[`fixtures build ts-declaration with microbundle 2`] = `6`; @@ -2574,7 +2611,7 @@ exports[`fixtures build ts-declaration with microbundle 4`] = ` `; exports[`fixtures build ts-declaration with microbundle 5`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?n(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],n):n((e=e||self).tsDeclarations={})}(this,function(e){e.foo=function(){return 42}}); +"!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}}); //# sourceMappingURL=index.umd.js.map " `; @@ -2612,8 +2649,8 @@ Build \\"tsJsx\\" to dist: 94 B: ts-jsx.js.br 131 B: ts-jsx.esm.js.gz 111 B: ts-jsx.esm.js.br -220 B: ts-jsx.umd.js.gz -177 B: ts-jsx.umd.js.br" +219 B: ts-jsx.umd.js.gz +176 B: ts-jsx.umd.js.br" `; exports[`fixtures build ts-jsx with microbundle 2`] = `7`; @@ -2636,7 +2673,7 @@ exports[`fixtures build ts-jsx with microbundle 5`] = ` `; exports[`fixtures build ts-jsx with microbundle 6`] = ` -"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?n(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],n):n((e=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}); +"!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}); //# sourceMappingURL=ts-jsx.umd.js.map " `; @@ -2669,8 +2706,8 @@ Build \\"tsMixedExports\\" to dist: 89 B: ts-mixed-exports.js.br 115 B: ts-mixed-exports.esm.js.gz 100 B: ts-mixed-exports.esm.js.br -213 B: ts-mixed-exports.umd.js.gz -171 B: ts-mixed-exports.umd.js.br" +212 B: ts-mixed-exports.umd.js.gz +170 B: ts-mixed-exports.umd.js.br" `; exports[`fixtures build ts-mixed-exports with microbundle 2`] = `8`; @@ -2706,7 +2743,7 @@ exports[`fixtures build ts-mixed-exports with microbundle 6`] = ` `; exports[`fixtures build ts-mixed-exports with microbundle 7`] = ` -"!function(e,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?t(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],t):t((e=e||self).tsMixedExports={})}(this,function(e){var t=function(){function e(){}return e.prototype.drive=function(e){return!0},e}(),n=new t;e.Car=t,e.default=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=function(){function e(){}return e.prototype.drive=function(e){return!0},e}(),t=new n;e.Car=n,e.default=t}); //# sourceMappingURL=ts-mixed-exports.umd.js.map " `; @@ -2739,8 +2776,8 @@ Build \\"tsModule\\" to dist: 42 B: ts-module.js.br 65 B: ts-module.esm.js.gz 49 B: ts-module.esm.js.br -168 B: ts-module.umd.js.gz -128 B: ts-module.umd.js.br" +167 B: ts-module.umd.js.gz +127 B: ts-module.umd.js.br" `; exports[`fixtures build ts-module with microbundle 2`] = `8`; @@ -2768,7 +2805,7 @@ exports[`fixtures build ts-module with microbundle 6`] = ` `; exports[`fixtures build ts-module with microbundle 7`] = ` -"!function(e,o){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?o(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],o):o((e=e||self).tsModule={})}(this,function(e){e.foobar=function(){return\\"foobar\\"}}); +"!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\\"}}); //# sourceMappingURL=ts-module.umd.js.map " `; From dfeb73565267e76a332934b2f9b4b57a664daf41 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Sat, 19 Dec 2020 04:55:59 +0100 Subject: [PATCH 16/20] Update index.js --- test/fixtures/inline-source-map/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/inline-source-map/src/index.js b/test/fixtures/inline-source-map/src/index.js index c0a2efb0..a756a0a4 100644 --- a/test/fixtures/inline-source-map/src/index.js +++ b/test/fixtures/inline-source-map/src/index.js @@ -1,5 +1,5 @@ import { two } from './two'; -export default async function (...args) { +export default async function(...args) { return [await two(...args), await two(...args)]; } From 3336ebe6415fbccdf692c292601fe809752a27c1 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Sat, 19 Dec 2020 04:56:57 +0100 Subject: [PATCH 17/20] Update rude-keys-eat.md --- .changeset/rude-keys-eat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/rude-keys-eat.md b/.changeset/rude-keys-eat.md index 168df492..1a49c525 100644 --- a/.changeset/rude-keys-eat.md +++ b/.changeset/rude-keys-eat.md @@ -1,5 +1,5 @@ --- -'microbundle': minor +"microbundle": minor --- Add `--css inline` option. The default CSS output for all formats is now external files (as it was supposed to be). From e118c1bd4434eb16fa01b9d9eae10a2861a9a8d3 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Sat, 19 Dec 2020 04:57:16 +0100 Subject: [PATCH 18/20] Update two-bikes-brush.md --- .changeset/two-bikes-brush.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/two-bikes-brush.md b/.changeset/two-bikes-brush.md index 81d3a7d4..c99347f0 100644 --- a/.changeset/two-bikes-brush.md +++ b/.changeset/two-bikes-brush.md @@ -1,5 +1,5 @@ --- -'microbundle': patch +"microbundle": patch --- Add ambient typescript declaration for CSS Modules From 1453b1ba93323aea68a90cdb3ad8c0d928a69280 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Sat, 19 Dec 2020 05:00:25 +0100 Subject: [PATCH 19/20] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 34c0cfe5..01eeadfd 100644 --- a/README.md +++ b/README.md @@ -173,11 +173,11 @@ Importing CSS files is supported via `import "./foo.css"`. By default, generated ```js // with the default external CSS: -import './foo.css'; // generates a minified .css file in the output directory +import './foo.css'; // generates a minified .css file in the output directory // with `microbundle --css inline`: import css from './foo.css'; -console.log(css); // the generated minified stylesheet +console.log(css); // the generated minified stylesheet ``` **CSS Modules:** CSS files with names ending in `.module.css` are treated as a [CSS Modules](https://github.com/css-modules/css-modules). @@ -235,11 +235,11 @@ It's also possible to configure repeatable short names for each mangled property The `--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. -| Build command | Source code | Output | -| -------------------------------------------- | ---------------------- | ----------------------- | -| `microbundle --define VERSION=2` | `console.log(VERSION)` | `console.log(2)` | -| `microbundle --define API_KEY='abc123'` | `console.log(API_KEY)` | `console.log("abc123")` | -| `microbundle --define @assign=Object.assign` | `assign(a, b)` | `Object.assign(a, b)` | +| Build command | Source code | Output | +|---------------|-------------|--------| +`microbundle --define VERSION=2` | `console.log(VERSION)` | `console.log(2)` +`microbundle --define API_KEY='abc123'` | `console.log(API_KEY)` | `console.log("abc123")` +`microbundle --define @assign=Object.assign` | `assign(a, b)` | `Object.assign(a, b)` ### All CLI Options From 4e028e6bcf646a6cd1e2ab98169b6b3e95cf8aa2 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Sat, 19 Dec 2020 05:04:04 +0100 Subject: [PATCH 20/20] update snapshots --- test/__snapshots__/index.test.js.snap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index 62b8d10d..750c7713 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -1735,19 +1735,19 @@ exports[`fixtures build inline-source-map with microbundle 2`] = `3`; exports[`fixtures build inline-source-map with microbundle 3`] = ` "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)}} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAuZXNtLmpzIiwic291cmNlcyI6WyIuLi9zcmMvdHdvLmpzIiwiLi4vc3JjL2luZGV4LmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBhc3luYyBmdW5jdGlvbiB0d28oLi4uYXJncykge1xuXHRyZXR1cm4gYXJncy5yZWR1Y2UoKHRvdGFsLCB2YWx1ZSkgPT4gdG90YWwgKyB2YWx1ZSwgMCk7XG59XG4iLCJpbXBvcnQgeyB0d28gfSBmcm9tICcuL3R3byc7XG5cbmV4cG9ydCBkZWZhdWx0IGFzeW5jIGZ1bmN0aW9uICguLi5hcmdzKSB7XG5cdHJldHVybiBbYXdhaXQgdHdvKC4uLmFyZ3MpLCBhd2FpdCB0d28oLi4uYXJncyldO1xufVxuIl0sIm5hbWVzIjpbInR3byIsInJlZHVjZSIsInRvdGFsIiwidmFsdWUiLCJhcmdzIl0sIm1hcHBpbmdzIjoiSUFBc0JBLGlDQUNyQix1QkFBTyxpQkFBS0MsT0FBTyxTQUFDQyxFQUFPQyxVQUFVRCxFQUFRQyxHQUFPLElBRHJELGtGQ0VrQ0MsMENBQ25CSixlQUFPSSw0Q0FBYUosZUFBT0kscUJBQXpDLE1BQU8sVUFEUiJ9 +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAuZXNtLmpzIiwic291cmNlcyI6WyIuLi9zcmMvdHdvLmpzIiwiLi4vc3JjL2luZGV4LmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBhc3luYyBmdW5jdGlvbiB0d28oLi4uYXJncykge1xuXHRyZXR1cm4gYXJncy5yZWR1Y2UoKHRvdGFsLCB2YWx1ZSkgPT4gdG90YWwgKyB2YWx1ZSwgMCk7XG59XG4iLCJpbXBvcnQgeyB0d28gfSBmcm9tICcuL3R3byc7XG5cbmV4cG9ydCBkZWZhdWx0IGFzeW5jIGZ1bmN0aW9uKC4uLmFyZ3MpIHtcblx0cmV0dXJuIFthd2FpdCB0d28oLi4uYXJncyksIGF3YWl0IHR3byguLi5hcmdzKV07XG59XG4iXSwibmFtZXMiOlsidHdvIiwicmVkdWNlIiwidG90YWwiLCJ2YWx1ZSIsImFyZ3MiXSwibWFwcGluZ3MiOiJJQUFzQkEsaUNBQ3JCLHVCQUFPLGlCQUFLQyxPQUFPLFNBQUNDLEVBQU9DLFVBQVVELEVBQVFDLEdBQU8sSUFEckQsa0ZDRWlDQywwQ0FDbEJKLGVBQU9JLDRDQUFhSixlQUFPSSxxQkFBekMsTUFBTyxVQURSIn0= " `; exports[`fixtures build inline-source-map with microbundle 4`] = ` "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)}}; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAuanMiLCJzb3VyY2VzIjpbIi4uL3NyYy90d28uanMiLCIuLi9zcmMvaW5kZXguanMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIHR3byguLi5hcmdzKSB7XG5cdHJldHVybiBhcmdzLnJlZHVjZSgodG90YWwsIHZhbHVlKSA9PiB0b3RhbCArIHZhbHVlLCAwKTtcbn1cbiIsImltcG9ydCB7IHR3byB9IGZyb20gJy4vdHdvJztcblxuZXhwb3J0IGRlZmF1bHQgYXN5bmMgZnVuY3Rpb24gKC4uLmFyZ3MpIHtcblx0cmV0dXJuIFthd2FpdCB0d28oLi4uYXJncyksIGF3YWl0IHR3byguLi5hcmdzKV07XG59XG4iXSwibmFtZXMiOlsidHdvIiwicmVkdWNlIiwidG90YWwiLCJ2YWx1ZSIsImFyZ3MiXSwibWFwcGluZ3MiOiJJQUFzQkEsaUNBQ3JCLHVCQUFPLGlCQUFLQyxPQUFPLFNBQUNDLEVBQU9DLFVBQVVELEVBQVFDLEdBQU8sSUFEckQsa0ZDRWtDQywwQ0FDbkJKLGVBQU9JLDRDQUFhSixlQUFPSSxxQkFBekMsTUFBTyxVQURSIn0= +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAuanMiLCJzb3VyY2VzIjpbIi4uL3NyYy90d28uanMiLCIuLi9zcmMvaW5kZXguanMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIHR3byguLi5hcmdzKSB7XG5cdHJldHVybiBhcmdzLnJlZHVjZSgodG90YWwsIHZhbHVlKSA9PiB0b3RhbCArIHZhbHVlLCAwKTtcbn1cbiIsImltcG9ydCB7IHR3byB9IGZyb20gJy4vdHdvJztcblxuZXhwb3J0IGRlZmF1bHQgYXN5bmMgZnVuY3Rpb24oLi4uYXJncykge1xuXHRyZXR1cm4gW2F3YWl0IHR3byguLi5hcmdzKSwgYXdhaXQgdHdvKC4uLmFyZ3MpXTtcbn1cbiJdLCJuYW1lcyI6WyJ0d28iLCJyZWR1Y2UiLCJ0b3RhbCIsInZhbHVlIiwiYXJncyJdLCJtYXBwaW5ncyI6IklBQXNCQSxpQ0FDckIsdUJBQU8saUJBQUtDLE9BQU8sU0FBQ0MsRUFBT0MsVUFBVUQsRUFBUUMsR0FBTyxJQURyRCxrRkNFaUNDLDBDQUNsQkosZUFBT0ksNENBQWFKLGVBQU9JLHFCQUF6QyxNQUFPLFVBRFIifQ== " `; exports[`fixtures build inline-source-map with microbundle 5`] = ` "!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)}}}); -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAudW1kLmpzIiwic291cmNlcyI6WyIuLi9zcmMvdHdvLmpzIiwiLi4vc3JjL2luZGV4LmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBhc3luYyBmdW5jdGlvbiB0d28oLi4uYXJncykge1xuXHRyZXR1cm4gYXJncy5yZWR1Y2UoKHRvdGFsLCB2YWx1ZSkgPT4gdG90YWwgKyB2YWx1ZSwgMCk7XG59XG4iLCJpbXBvcnQgeyB0d28gfSBmcm9tICcuL3R3byc7XG5cbmV4cG9ydCBkZWZhdWx0IGFzeW5jIGZ1bmN0aW9uICguLi5hcmdzKSB7XG5cdHJldHVybiBbYXdhaXQgdHdvKC4uLmFyZ3MpLCBhd2FpdCB0d28oLi4uYXJncyldO1xufVxuIl0sIm5hbWVzIjpbInR3byIsInJlZHVjZSIsInRvdGFsIiwidmFsdWUiLCJhcmdzIl0sIm1hcHBpbmdzIjoic09BQXNCQSxpQ0FDckIsdUJBQU8saUJBQUtDLE9BQU8sU0FBQ0MsRUFBT0MsVUFBVUQsRUFBUUMsR0FBTyxJQURyRCwwRUNFa0NDLDBDQUNuQkosZUFBT0ksNENBQWFKLGVBQU9JLHFCQUF6QyxNQUFPLFVBRFIifQ== +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAudW1kLmpzIiwic291cmNlcyI6WyIuLi9zcmMvdHdvLmpzIiwiLi4vc3JjL2luZGV4LmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBhc3luYyBmdW5jdGlvbiB0d28oLi4uYXJncykge1xuXHRyZXR1cm4gYXJncy5yZWR1Y2UoKHRvdGFsLCB2YWx1ZSkgPT4gdG90YWwgKyB2YWx1ZSwgMCk7XG59XG4iLCJpbXBvcnQgeyB0d28gfSBmcm9tICcuL3R3byc7XG5cbmV4cG9ydCBkZWZhdWx0IGFzeW5jIGZ1bmN0aW9uKC4uLmFyZ3MpIHtcblx0cmV0dXJuIFthd2FpdCB0d28oLi4uYXJncyksIGF3YWl0IHR3byguLi5hcmdzKV07XG59XG4iXSwibmFtZXMiOlsidHdvIiwicmVkdWNlIiwidG90YWwiLCJ2YWx1ZSIsImFyZ3MiXSwibWFwcGluZ3MiOiJzT0FBc0JBLGlDQUNyQix1QkFBTyxpQkFBS0MsT0FBTyxTQUFDQyxFQUFPQyxVQUFVRCxFQUFRQyxHQUFPLElBRHJELDBFQ0VpQ0MsMENBQ2xCSixlQUFPSSw0Q0FBYUosZUFBT0kscUJBQXpDLE1BQU8sVUFEUiJ9 " `;