mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
98cc79a2be
swc_ecma_codegen: - Fix sourcemap of `export` tokens. - Fix codegen of numeric operands in left of a binary expression. - Fix codegen of unary operations. swc_ecma_minifier: - Visit `AssignPatProp.valie`. - Move `inline_prevented` to analyzer. - Add `Ctx.dont_invoke_iife`. - `iife`: Check for `arugments` swc: - `inline_sources_content`: true by default for `minify()`.
19 lines
817 B
Plaintext
19 lines
817 B
Plaintext
{
|
|
"mappings": ";;AAAA,MAAM,SAAS,QAAQ,CAAC,UAAU,CAAC,KAAQ,EAAE,CAAC;QAAT,IAAI,GAAN,KAAQ,CAAN,IAAI;IACrC,MAAM,mCAAE,CAAG,YAAE,IAAI,CAAC,GAAG;AACzB,CAAC;SAEqB,eAAc;IAAd,eAAc,uDAA7B,QAAQ,WAAwB,CAAC;;;;iDAC7B,CAAC;wBACJ,KAAK,EAAE,CAAC;4BACJ,IAAI,EAAE,CAAC;gCACH,GAAG,EAAE,CAAK;4BACd,CAAC;wBACL,CAAC;oBACL,CAAC;;;;;;IACL,CAAC;WARqB,eAAc;;AAApC,MAAM,UAAgB,cAAc;WAAd,eAAc",
|
|
"names": [
|
|
"StaticPage",
|
|
"data",
|
|
"div",
|
|
"foo",
|
|
"getStaticProps",
|
|
"props"
|
|
],
|
|
"sources": [
|
|
"../../input/index.js"
|
|
],
|
|
"sourcesContent": [
|
|
"export default function StaticPage({ data }) {\n return <div>{data.foo}</div>\n}\n\nexport async function getStaticProps() {\n return {\n props: {\n data: {\n foo: 'bar',\n },\n },\n }\n}"
|
|
],
|
|
"version": 3
|
|
}
|