@jsenv/cli 0.3.21 → 0.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template-node-package/package.json +1 -1
- package/template-web/.jsenv/entry_index/shape/index.html +1 -1
- package/template-web/.jsenv/entry_index/shape/main.js +1 -1
- package/template-web/dist/index.html +1 -1
- package/template-web/dist/js/main.js +1 -1
- package/template-web/package.json +1 -1
- package/template-web-components/.jsenv/entry_index/shape/index.html +1 -1
- package/template-web-components/.jsenv/entry_index/shape/main.js +1 -1
- package/template-web-components/dist/index.html +1 -1
- package/template-web-components/dist/js/main.js +1 -1
- package/template-web-components/package.json +1 -1
- package/template-web-preact/.jsenv/entry_index/shape/index.html +1 -1
- package/template-web-preact/.jsenv/entry_index/shape/main.jsx +1 -1
- package/template-web-preact/dist/index.html +1 -1
- package/template-web-preact/dist/js/main.js +1 -1
- package/template-web-preact/package.json +1 -1
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js__compile_info__.json +2 -2
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js__compile_info__.json +2 -2
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js__compile_info__.json +2 -2
- package/template-web-react/.jsenv/entry_index/shape/index.html +1 -1
- package/template-web-react/.jsenv/entry_index/shape/main.jsx +1 -1
- package/template-web-react/dist/index.html +1 -1
- package/template-web-react/dist/js/main.js +1 -1
- package/template-web-react/package.json +1 -1
package/package.json
CHANGED
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div id="root"></div>
|
|
22
|
-
<script type="module" src="/js/main.js?v=
|
|
22
|
+
<script type="module" src="/js/main.js?v=959e9684" original-src-position="25:27;25:42"></script>
|
|
23
23
|
</body>
|
|
24
24
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);document.querySelector("#root").innerHTML=`<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(()=>{const e=document.querySelector("#counter_button"),t=document.querySelector("#counter_output");t.innerHTML=n,e.onclick=()=>{n++,t.innerHTML=n}})();
|
|
1
|
+
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);document.querySelector("#root").innerHTML=`<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(()=>{const e=document.querySelector("#counter_button"),t=document.querySelector("#counter_output");t.innerHTML=n,e.onclick=()=>{n++,t.innerHTML=n}})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);document.querySelector("#root").innerHTML=`<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(()=>{const e=document.querySelector("#counter_button"),t=document.querySelector("#counter_output");t.innerHTML=n,e.onclick=()=>{n++,t.innerHTML=n}})();
|
|
1
|
+
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);document.querySelector("#root").innerHTML=`<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(()=>{const e=document.querySelector("#counter_button"),t=document.querySelector("#counter_output");t.innerHTML=n,e.onclick=()=>{n++,t.innerHTML=n}})();
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@babel/plugin-syntax-import-attributes": "7.26.0",
|
|
18
18
|
"@jsenv/assert": "4.4.5",
|
|
19
|
-
"@jsenv/core": "40.1.
|
|
19
|
+
"@jsenv/core": "40.1.6",
|
|
20
20
|
"@jsenv/eslint-config-relax": "1.4.6",
|
|
21
21
|
"@jsenv/plugin-bundling": "2.8.8",
|
|
22
22
|
"@jsenv/plugin-minification": "1.6.2",
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div id="root"></div>
|
|
22
|
-
<script type="module" src="/js/main.js?v=
|
|
22
|
+
<script type="module" src="/js/main.js?v=37dee9a3" original-src-position="25:27;25:42"></script>
|
|
23
23
|
</body>
|
|
24
24
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);class s extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"});e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],e.innerHTML=`\n<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(e=>{const t=e.querySelector("#counter_button"),o=e.querySelector("#counter_output");o.innerHTML=n,t.onclick=()=>{n++,o.innerHTML=n}})(e)}}customElements.define("my-app",s),document.querySelector("#root").innerHTML="<my-app></my-app>";
|
|
1
|
+
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);class s extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"});e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],e.innerHTML=`\n<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(e=>{const t=e.querySelector("#counter_button"),o=e.querySelector("#counter_output");o.innerHTML=n,t.onclick=()=>{n++,o.innerHTML=n}})(e)}}customElements.define("my-app",s),document.querySelector("#root").innerHTML="<my-app></my-app>";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);class s extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"});e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],e.innerHTML=`\n<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(e=>{const t=e.querySelector("#counter_button"),o=e.querySelector("#counter_output");o.innerHTML=n,t.onclick=()=>{n++,o.innerHTML=n}})(e)}}customElements.define("my-app",s),document.querySelector("#root").innerHTML="<my-app></my-app>";
|
|
1
|
+
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);class s extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"});e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],e.innerHTML=`\n<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(e=>{const t=e.querySelector("#counter_button"),o=e.querySelector("#counter_output");o.innerHTML=n,t.onclick=()=>{n++,o.innerHTML=n}})(e)}}customElements.define("my-app",s),document.querySelector("#root").innerHTML="<my-app></my-app>";
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@babel/plugin-syntax-import-attributes": "7.26.0",
|
|
19
19
|
"@jsenv/custom-elements-redefine": "0.0.1",
|
|
20
20
|
"@jsenv/assert": "4.4.5",
|
|
21
|
-
"@jsenv/core": "40.1.
|
|
21
|
+
"@jsenv/core": "40.1.6",
|
|
22
22
|
"@jsenv/plugin-bundling": "2.8.8",
|
|
23
23
|
"@jsenv/plugin-minification": "1.6.2",
|
|
24
24
|
"@jsenv/eslint-config-relax": "1.4.6",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
</head>
|
|
27
27
|
<body>
|
|
28
28
|
<div id="root"></div>
|
|
29
|
-
<script type="module" src="/js/main.js?v=
|
|
29
|
+
<script type="module" src="/js/main.js?v=a73569df" original-src-position="27:27;27:43"></script>
|
|
30
30
|
</body>
|
|
31
31
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,u as t,k as n,_ as o,E as r}from"/jsenv_template_web_preact_node_modules.js";const a=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),p=new CSSStyleSheet;p.replaceSync(a.text);const
|
|
1
|
+
import{d as e,u as t,k as n,_ as o,E as r}from"/jsenv_template_web_preact_node_modules.js";("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const a=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),p=new CSSStyleSheet;p.replaceSync(a.text);const i=()=>{const[o,r]=e(0);return t(n,{children:[t("button",{id:"counter_button",type:"button",onClick:()=>r((e=>e+1)),children:"Click me"}),t("br",{}),"number of click: ",t("span",{id:"counter_output",children:o})]})},c=new URL(__v__("/other/preact_logo.svg"),import.meta.url);r(t((()=>(o((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,p],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==p))})),[]),t("div",{className:"app",children:t("header",{className:"app_header",children:[t("img",{src:c,className:"app_logo",alt:"logo"}),t("p",{children:"Hello jsenv + preact!"}),t("p",{children:t(i,{})}),t("p",{children:["Edit"," ",t("a",{className:"app_link",href:"javascript:window.fetch('/internal/open_file/app/app.jsx')",children:"app.jsx"})," ","and save to test HMR updates."]}),t("p",{children:t("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}))),{}),document.querySelector("#root"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,u as t,k as n,_ as o,E as r}from"/jsenv_template_web_preact_node_modules.js";const a=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),p=new CSSStyleSheet;p.replaceSync(a.text);const
|
|
1
|
+
import{d as e,u as t,k as n,_ as o,E as r}from"/jsenv_template_web_preact_node_modules.js";("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const a=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),p=new CSSStyleSheet;p.replaceSync(a.text);const i=()=>{const[o,r]=e(0);return t(n,{children:[t("button",{id:"counter_button",type:"button",onClick:()=>r((e=>e+1)),children:"Click me"}),t("br",{}),"number of click: ",t("span",{id:"counter_output",children:o})]})},c=new URL(__v__("/other/preact_logo.svg"),import.meta.url);r(t((()=>(o((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,p],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==p))})),[]),t("div",{className:"app",children:t("header",{className:"app_header",children:[t("img",{src:c,className:"app_logo",alt:"logo"}),t("p",{children:"Hello jsenv + preact!"}),t("p",{children:t(i,{})}),t("p",{children:["Edit"," ",t("a",{className:"app_link",href:"javascript:window.fetch('/internal/open_file/app/app.jsx')",children:"app.jsx"})," ","and save to test HMR updates."]}),t("p",{children:t("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}))),{}),document.querySelector("#root"));
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@babel/plugin-syntax-import-attributes": "7.26.0",
|
|
22
22
|
"@babel/plugin-transform-react-jsx": "7.25.9",
|
|
23
23
|
"@jsenv/assert": "4.4.5",
|
|
24
|
-
"@jsenv/core": "40.1.
|
|
24
|
+
"@jsenv/core": "40.1.6",
|
|
25
25
|
"@jsenv/plugin-preact": "1.7.8",
|
|
26
26
|
"@jsenv/plugin-bundling": "2.8.8",
|
|
27
27
|
"@jsenv/plugin-minification": "1.6.2",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
</head>
|
|
27
27
|
<body>
|
|
28
28
|
<div id="root"></div>
|
|
29
|
-
<script type="module" src="/js/main.js?v=
|
|
29
|
+
<script type="module" src="/js/main.js?v=8462e9b8" original-src-position="27:27;27:43"></script>
|
|
30
30
|
</body>
|
|
31
31
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as e,j as t,F as n,a as o,b as a,_ as r,c}from"/jsenv_template_web_react_node_modules.js";const i=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),l=new CSSStyleSheet;l.replaceSync(i.text);const p=()=>{const[a,r]=e(0);return t(n,{children:[o("button",{id:"counter_button",type:"button",onClick:()=>r((e=>e+1)),children:"Click me"}),o("br",{}),"number of click: ",o("span",{id:"counter_output",children:a})]})},s=new URL(__v__("/other/react_logo.svg"),import.meta.url),d=()=>(a((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,l],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==l))})),[]),o("div",{className:"app",children:t("header",{className:"app_header",children:[o("img",{src:s,className:"app_logo",alt:"logo"}),o("p",{children:"Hello jsenv + React!"}),o("p",{children:o(p,{})}),t("p",{children:["Edit"," ",o("a",{className:"app_link",onClick:e=>{e.preventDefault(),window.fetch("/.internal/open_file/app/app.jsx")},children:"app.jsx"})," ","and save to test HMR updates."]}),o("p",{children:o("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}));r.createRoot(document.querySelector("#root")).render(o(c.StrictMode,{children:o(d,{})}));
|
|
1
|
+
import{u as e,j as t,F as n,a as o,b as a,_ as r,c}from"/jsenv_template_web_react_node_modules.js";("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const i=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),l=new CSSStyleSheet;l.replaceSync(i.text);const p=()=>{const[a,r]=e(0);return t(n,{children:[o("button",{id:"counter_button",type:"button",onClick:()=>r((e=>e+1)),children:"Click me"}),o("br",{}),"number of click: ",o("span",{id:"counter_output",children:a})]})},s=new URL(__v__("/other/react_logo.svg"),import.meta.url),d=()=>(a((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,l],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==l))})),[]),o("div",{className:"app",children:t("header",{className:"app_header",children:[o("img",{src:s,className:"app_logo",alt:"logo"}),o("p",{children:"Hello jsenv + React!"}),o("p",{children:o(p,{})}),t("p",{children:["Edit"," ",o("a",{className:"app_link",onClick:e=>{e.preventDefault(),window.fetch("/.internal/open_file/app/app.jsx")},children:"app.jsx"})," ","and save to test HMR updates."]}),o("p",{children:o("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}));r.createRoot(document.querySelector("#root")).render(o(c.StrictMode,{children:o(d,{})}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as e,j as t,F as n,a as o,b as a,_ as r,c}from"/jsenv_template_web_react_node_modules.js";const i=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),l=new CSSStyleSheet;l.replaceSync(i.text);const p=()=>{const[a,r]=e(0);return t(n,{children:[o("button",{id:"counter_button",type:"button",onClick:()=>r((e=>e+1)),children:"Click me"}),o("br",{}),"number of click: ",o("span",{id:"counter_output",children:a})]})},s=new URL(__v__("/other/react_logo.svg"),import.meta.url),d=()=>(a((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,l],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==l))})),[]),o("div",{className:"app",children:t("header",{className:"app_header",children:[o("img",{src:s,className:"app_logo",alt:"logo"}),o("p",{children:"Hello jsenv + React!"}),o("p",{children:o(p,{})}),t("p",{children:["Edit"," ",o("a",{className:"app_link",onClick:e=>{e.preventDefault(),window.fetch("/.internal/open_file/app/app.jsx")},children:"app.jsx"})," ","and save to test HMR updates."]}),o("p",{children:o("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}));r.createRoot(document.querySelector("#root")).render(o(c.StrictMode,{children:o(d,{})}));
|
|
1
|
+
import{u as e,j as t,F as n,a as o,b as a,_ as r,c}from"/jsenv_template_web_react_node_modules.js";("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const i=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),l=new CSSStyleSheet;l.replaceSync(i.text);const p=()=>{const[a,r]=e(0);return t(n,{children:[o("button",{id:"counter_button",type:"button",onClick:()=>r((e=>e+1)),children:"Click me"}),o("br",{}),"number of click: ",o("span",{id:"counter_output",children:a})]})},s=new URL(__v__("/other/react_logo.svg"),import.meta.url),d=()=>(a((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,l],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==l))})),[]),o("div",{className:"app",children:t("header",{className:"app_header",children:[o("img",{src:s,className:"app_logo",alt:"logo"}),o("p",{children:"Hello jsenv + React!"}),o("p",{children:o(p,{})}),t("p",{children:["Edit"," ",o("a",{className:"app_link",onClick:e=>{e.preventDefault(),window.fetch("/.internal/open_file/app/app.jsx")},children:"app.jsx"})," ","and save to test HMR updates."]}),o("p",{children:o("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}));r.createRoot(document.querySelector("#root")).render(o(c.StrictMode,{children:o(d,{})}));
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@babel/plugin-syntax-import-attributes": "7.26.0",
|
|
23
23
|
"@babel/plugin-transform-react-jsx": "7.25.9",
|
|
24
24
|
"@jsenv/assert": "4.4.5",
|
|
25
|
-
"@jsenv/core": "40.1.
|
|
25
|
+
"@jsenv/core": "40.1.6",
|
|
26
26
|
"@jsenv/plugin-react": "1.7.7",
|
|
27
27
|
"@jsenv/plugin-bundling": "2.8.8",
|
|
28
28
|
"@jsenv/plugin-minification": "1.6.2",
|