Skip to content

Commit

Permalink
@loadable/babel-plugin: should be applied to both builds
Browse files Browse the repository at this point in the history
This breaks the UI on sharetribe/web-template, we need to make major release
  • Loading branch information
Gnito committed Jan 9, 2025
1 parent a140fbf commit b3e19ee
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 b3e19ee

Please sign in to comment.