woocommerce/plugins/woocommerce-admin/.babelrc

30 lines
582 B
Plaintext

{
"presets": [ "@wordpress/default" ],
"plugins": [
"@babel/plugin-transform-async-to-generator",
"transform-class-properties",
"@wordpress/babel-plugin-import-jsx-pragma",
[
"@babel/plugin-transform-react-jsx",
{
"pragma": "wp.element.createElement"
}
]
],
"env": {
"production": {
"plugins": [
[
"@wordpress/babel-plugin-makepot",
{
"output": "languages/wc-admin.pot"
}
],
"@wordpress/babel-plugin-import-jsx-pragma",
"transform-class-properties",
"@babel/plugin-transform-async-to-generator"
]
}
}
}