forked from huozhi/bunchee
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
test/compile/jsx-preserve/__snapshot__/jsx-preserve.min.js.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
function e(){return React.createElement(React.Fragment,null,React.createElement("div",null,"hello"),React.createElement("h1",null,"yep"))}export{e as default}; | ||
function e(){return /*#__PURE__*/React.createElement(React.Fragment,null,/*#__PURE__*/React.createElement("div",null,"hello"),/*#__PURE__*/React.createElement("h1",null,"yep"))}export{e as default}; |
2 changes: 1 addition & 1 deletion
2
test/compile/jsx-react-automatic/__snapshot__/jsx-react-automatic.min.js.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import{jsxs as e,Fragment as r,jsx as i}from"react/jsx-runtime";function n(){return e(r,{children:[i("div",{children:"hello"}),i("h1",{children:"yep"})]})}export{n as default}; | ||
import{jsxs as e,Fragment as r,jsx as i}from"react/jsx-runtime";function n(){return /*#__PURE__*/e(r,{children:[/*#__PURE__*/i("div",{children:"hello"}),/*#__PURE__*/i("h1",{children:"yep"})]})}export{n as default}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
function e(){return React.createElement(React.Fragment,null,React.createElement("div",null,"hello"),React.createElement("h1",null,"yep"))}export{e as default}; | ||
function e(){return /*#__PURE__*/React.createElement(React.Fragment,null,/*#__PURE__*/React.createElement("div",null,"hello"),/*#__PURE__*/React.createElement("h1",null,"yep"))}export{e as default}; |
2 changes: 1 addition & 1 deletion
2
test/compile/tsx-css-global/__snapshot__/tsx-css-global.min.js.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"use client";function e(){return React.createElement("p",{className:"foo"},"foo")}!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(".foo{transform-origin:center}");export{e as default}; | ||
"use client";function e(){return /*#__PURE__*/React.createElement("p",{className:"foo"},"foo")}!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(".foo{transform-origin:center}");export{e as default}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import e from"react";function t(){return e.createElement("div",null,"hello")}export{t as default}; | ||
import e from"react";function t(){return /*#__PURE__*/e.createElement("div",null,"hello")}export{t as default}; |