woocommerce/plugins/woocommerce-blocks/.babelrc

26 lines
431 B
Plaintext

{
"presets": ["@wordpress/babel-preset-default"],
"plugins": [
[
"@babel/transform-react-jsx",
{
"pragma": "createElement"
}
],
[
"@wordpress/babel-plugin-import-jsx-pragma",
{
"scopeVariable": "createElement",
"source": "@wordpress/element",
"isDefault": false
}
],
[
"@wordpress/babel-plugin-makepot",
{
"output": "languages/woo-gutenberg-products-block.pot"
}
]
]
}