woocommerce/plugins/woocommerce-admin/.babelrc

30 lines
582 B
Plaintext
Raw Normal View History

2018-04-17 21:38:56 +00:00
{
"presets": [ "@wordpress/default" ],
2018-04-17 21:38:56 +00:00
"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"
}
]
2018-04-17 21:38:56 +00:00
],
"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"
]
}
}
2018-04-17 21:38:56 +00:00
}