Skip to content

Instantly share code, notes, and snippets.

@ragingwind
Created November 2, 2021 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ragingwind/cef0ac23a8d95296ad3310d4fa4d4b63 to your computer and use it in GitHub Desktop.
Save ragingwind/cef0ac23a8d95296ad3310d4fa4d4b63 to your computer and use it in GitHub Desktop.
swcrc
{
"jsc": {
"parser": {
"syntax": "ecmascript",
"jsx": false,
"dynamicImport": false,
"privateMethod": false,
"functionBind": false,
"classPrivateProperty": false,
"exportDefaultFrom": false,
"exportNamespaceFrom": false,
"decorators": false,
"decoratorsBeforeExport": false,
"importMeta": false
},
"target": "es2016",
"loose": true,
"transform": {
"react": {
"pragma": "React.createElement",
"pragmaFrag": "React.Fragment",
"throwIfNamespace": true,
"development": false,
"useBuiltins": false
}
},
"minify": {
"compress": true
}
},
"module": {
"type": "commonjs",
"ignoreDynamic": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment