Very Popular
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320export const snapshot = {};
snapshot[`esbuild plugin 1`] = `2`;
snapshot[`esbuild plugin 2`] = `{ formats: [ { engines: 1, ext: ".tmpl.ts", pageLoader: [AsyncFunction: module], }, { engines: 1, ext: ".tmpl.js", pageLoader: [AsyncFunction: module], }, { engines: undefined, ext: ".tmpl.json", pageLoader: [AsyncFunction: json], }, { dataLoader: [AsyncFunction: json], engines: undefined, ext: ".json", }, { engines: 1, ext: ".md", pageLoader: [AsyncFunction: text], }, { asset: true, componentLoader: [AsyncFunction: module], dataLoader: [AsyncFunction: module], engines: 1, ext: ".js", pageLoader: [AsyncFunction: text], }, { asset: true, componentLoader: [AsyncFunction: module], dataLoader: [AsyncFunction: module], engines: 1, ext: ".ts", pageLoader: [AsyncFunction: text], }, { componentLoader: [AsyncFunction: text], engines: 1, ext: ".njk", includesPath: "_includes", pageLoader: [AsyncFunction: text], }, { dataLoader: [AsyncFunction: yaml], engines: undefined, ext: ".yaml", pageLoader: [AsyncFunction: yaml], }, { dataLoader: [AsyncFunction: yaml], engines: undefined, ext: ".yml", pageLoader: [AsyncFunction: yaml], }, ],}`;
snapshot[`esbuild plugin 3`] = `[]`;
snapshot[`esbuild plugin 4`] = `{ content: 'var n=Object.defineProperty;var t=(e,o)=>n(e,"name",{value:o,configurable:!0});function r(e){return e.toUpperCase()}t(r,"toUppercase");document.querySelectorAll("h1")?.forEach(e=>{e.innerHTML=r(e.innerHTML)});', data: { content: '/// <reference lib="dom" />import toUppercase from "./modules/to_uppercase.ts";
document.querySelectorAll("h1")?.forEach((h1) => { h1.innerHTML = toUppercase(h1.innerHTML);});', date: 1970-01-01T00:00:00.000Z, mergedKeys: { tags: "stringArray", }, page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], url: "/main.js", }, dest: { ext: ".js", path: "/main", }, src: { asset: true, ext: ".ts", path: "/main", remote: undefined, slug: "main", },}`;
snapshot[`esbuild plugin 5`] = `{ content: 'var n=Object.defineProperty;var t=(e,o)=>n(e,"name",{value:o,configurable:!0});function r(e){return e.toUpperCase()}t(r,"toUppercase");document.querySelectorAll(".other")?.forEach(e=>{e.innerHTML=r(e.innerHTML)});', data: { content: '/// <reference lib="dom" />import toUppercase from "./modules/to_uppercase.ts";
document.querySelectorAll(".other")?.forEach((el) => { el.innerHTML = toUppercase(el.innerHTML);});', date: 1970-01-01T00:00:00.000Z, mergedKeys: { tags: "stringArray", }, page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], url: "/other.js", }, dest: { ext: ".js", path: "/other", }, src: { asset: true, ext: ".ts", path: "/other", remote: undefined, slug: "other", },}`;
snapshot[`esbuild plugin with splitting as true 1`] = `3`;
snapshot[`esbuild plugin with splitting as true 2`] = `{ formats: [ { engines: 1, ext: ".tmpl.ts", pageLoader: [AsyncFunction: module], }, { engines: 1, ext: ".tmpl.js", pageLoader: [AsyncFunction: module], }, { engines: undefined, ext: ".tmpl.json", pageLoader: [AsyncFunction: json], }, { dataLoader: [AsyncFunction: json], engines: undefined, ext: ".json", }, { engines: 1, ext: ".md", pageLoader: [AsyncFunction: text], }, { asset: true, componentLoader: [AsyncFunction: module], dataLoader: [AsyncFunction: module], engines: 1, ext: ".js", pageLoader: [AsyncFunction: text], }, { asset: true, componentLoader: [AsyncFunction: module], dataLoader: [AsyncFunction: module], engines: 1, ext: ".ts", pageLoader: [AsyncFunction: text], }, { componentLoader: [AsyncFunction: text], engines: 1, ext: ".njk", includesPath: "_includes", pageLoader: [AsyncFunction: text], }, { dataLoader: [AsyncFunction: yaml], engines: undefined, ext: ".yaml", pageLoader: [AsyncFunction: yaml], }, { dataLoader: [AsyncFunction: yaml], engines: undefined, ext: ".yml", pageLoader: [AsyncFunction: yaml], }, ],}`;
snapshot[`esbuild plugin with splitting as true 3`] = `[]`;
snapshot[`esbuild plugin with splitting as true 4`] = `{ content: 'var p=Object.defineProperty;var t=(e,r)=>p(e,"name",{value:r,configurable:!0});function n(e){return e.toUpperCase()}t(n,"toUppercase");export{n as a};', data: { content: "", page: undefined, url: "/foo/chunk.js", }, dest: { ext: ".js", path: "/foo/chunk", }, src: { asset: true, path: "", remote: undefined, slug: "chunk", },}`;
snapshot[`esbuild plugin with splitting as true 5`] = `{ content: 'import{a as r}from"./chunk.js";document.querySelectorAll("h1")?.forEach(e=>{e.innerHTML=r(e.innerHTML)});', data: { content: '/// <reference lib="dom" />import toUppercase from "./modules/to_uppercase.ts";
document.querySelectorAll("h1")?.forEach((h1) => { h1.innerHTML = toUppercase(h1.innerHTML);});', date: 1970-01-01T00:00:00.000Z, mergedKeys: { tags: "stringArray", }, page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], url: "/foo/main.js", }, dest: { ext: ".js", path: "/foo/main", }, src: { asset: true, ext: ".ts", path: "/main", remote: undefined, slug: "main", },}`;
snapshot[`esbuild plugin with splitting as true 6`] = `{ content: 'import{a as e}from"./chunk.js";document.querySelectorAll(".other")?.forEach(r=>{r.innerHTML=e(r.innerHTML)});', data: { content: '/// <reference lib="dom" />import toUppercase from "./modules/to_uppercase.ts";
document.querySelectorAll(".other")?.forEach((el) => { el.innerHTML = toUppercase(el.innerHTML);});', date: 1970-01-01T00:00:00.000Z, mergedKeys: { tags: "stringArray", }, page: undefined, paginate: [Function: paginate], search: Search {}, tags: [ ], url: "/foo/other.js", }, dest: { ext: ".js", path: "/foo/other", }, src: { asset: true, ext: ".ts", path: "/other", remote: undefined, slug: "other", },}`;