diff --git a/src/__tests__/fixtures/basic-template-plugin-production/__snapshots__/webpack5/server--main.js b/src/__tests__/fixtures/basic-template-plugin-production/__snapshots__/webpack5/server--main.js index 3b85ea2..d70f061 100644 --- a/src/__tests__/fixtures/basic-template-plugin-production/__snapshots__/webpack5/server--main.js +++ b/src/__tests__/fixtures/basic-template-plugin-production/__snapshots__/webpack5/server--main.js @@ -1 +1 @@ -(()=>{var e={845:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});const s=require("marko/dist/runtime/html"),o=require("marko/dist/runtime/components/renderer");var n=r.n(o);const i=(0,s.t)(),a=i;i._=n()((function(e,t,r,s,o){t.w("

Hello World

")}),{t:"7Fk+kAfP",i:!0},{});const l={getAssets(e){return this.build[e]},build:{"test_7Fk-":{js:["test_7Fk-.js"]}}},c=require("marko/dist/core-tags/core/__flush_here_and_after__.js");var _=r.n(c);const d=require("marko/dist/runtime/helpers/render-tag");var u=r.n(d);const f=require("marko/dist/core-tags/components/init-components-tag.js");var p=r.n(f);const g=require("marko/dist/core-tags/core/await/reorderer-renderer.js");var b=r.n(g);const h=(0,s.t)(),m=h;function y(){const e=this.global.___entries;if(this.global.___entries=void 0,e){r.p&&this.script(`$mwp=${JSON.stringify(r.p)}`);const t=this.global.buildName,s=this.global.cspNonce,o=s?` nonce=${JSON.stringify(s)}`:"",n=this.global.___writtenAssets||(this.global.___writtenAssets=new Set);let i="",a="";for(const s of e){const e=l.getAssets(s,t);if(e.js)for(const t of e.js)n.has(t)||(n.add(t),i+=`