Skip to content

Commit

Permalink
Update webpack configuration to customize jsonp function for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
creativecoder committed Jun 10, 2021
1 parent 3007cc0 commit fd30f8c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const extensionsWebpackConfig = getBaseWebpackConfig(
},
'output-chunk-filename': '[name].[chunkhash].js',
'output-path': path.join( path.dirname( __dirname ), '_inc', 'blocks' ),
'output-jsonp-function': 'webpackJsonpJetpack',
}
);

Expand Down

0 comments on commit fd30f8c

Please sign in to comment.