woocommerce/plugins/woocommerce-admin/babel.config.js

20 lines
305 B
JavaScript
Raw Normal View History

module.exports = function ( api ) {
api.cache( true );
return {
presets: [ '@wordpress/babel-preset-default' ],
env: {
production: {
plugins: [
[
'@wordpress/babel-plugin-makepot',
{
output: 'languages/woocommerce-admin.po',
},
],
],
},
},
};
};