Skip to content

Commit 42a1839

Browse files
authored
Merge pull request #28 from sharetribe/update-code-splitting
@loadable/babel-plugin: should be applied to both builds
2 parents a140fbf + b3e19ee commit 42a1839

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-scripts/config/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ module.exports = function(webpackEnv, target = 'web') {
454454

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

459459
isEnvDevelopment &&
460460
shouldUseReactRefresh &&

packages/react-scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sharetribe-scripts",
3-
"version": "6.0.2",
3+
"version": "7.0.0",
44
"description": "Fork of facebookincubator/create-react-app@5.0.1 with some additional features. This is a major version update to CRA",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)