PHP Classes

File: .babelrc.js

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WordPress React Plugin Kit   .babelrc.js   Download  
File: .babelrc.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WordPress React Plugin Kit
Environment to develop new WordPress plugins
Author: By
Last change:
Date: 1 year ago
Size: 456 bytes
 

Contents

Class file image Download
module.exports = { plugins: [ [ '@wordpress/babel-plugin-import-jsx-pragma', { scopeVariable: 'createElement', scopeVariableFrag: 'Fragment', source: '@wordpress/element', isDefault: false, }, ], [ '@babel/plugin-transform-react-jsx', { pragma: 'createElement', pragmaFrag: 'Fragment', }, ], ], presets: [ ['@babel/preset-env', { targets: { node: 'current' } }], ['@babel/preset-typescript'], ], };