Skip to content

Commit

Permalink
Merge pull request #28 from sharetribe/update-code-splitting
Browse files Browse the repository at this point in the history
@loadable/babel-plugin: should be applied to both builds
  • Loading branch information
Gnito authored Jan 9, 2025
2 parents a140fbf + b3e19ee commit 42a1839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ module.exports = function(webpackEnv, target = 'web') {

// Sharetribe custom: add loadable babel plugin for
// application files
isTargetNode && require.resolve('@loadable/babel-plugin'),
require.resolve('@loadable/babel-plugin'),

isEnvDevelopment &&
shouldUseReactRefresh &&
Expand Down
2 changes: 1 addition & 1 deletion packages/react-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sharetribe-scripts",
"version": "6.0.2",
"version": "7.0.0",
"description": "Fork of facebookincubator/[email protected] with some additional features. This is a major version update to CRA",
"repository": {
"type": "git",
Expand Down

0 comments on commit 42a1839

Please sign in to comment.