Skip to content

Commit

Permalink
Require.resolve it!
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Jul 19, 2019
1 parent 150b5f4 commit df706bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/calypso-build/babel/wordpress-element.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = () => ( {
plugins: [
[
'@wordpress/babel-plugin-import-jsx-pragma',
require.resolve( '@wordpress/babel-plugin-import-jsx-pragma' ),
{
scopeVariable: 'createElement',
scopeVariableFrag: 'Fragment',
Expand All @@ -10,7 +10,7 @@ module.exports = () => ( {
},
],
[
'@babel/transform-react-jsx',
require.resolve( '@babel/plugin-transform-react-jsx' ),
{
pragma: 'createElement',
pragmaFrag: 'Fragment',
Expand Down

0 comments on commit df706bc

Please sign in to comment.