This release adds support for code splitting for both client and the server.
The main idea is to split the build scripts into two: build for web and build-server for the server. They both use the same shared Webpack configuration file, but there are differences in what things are enabled in the configuration based on the build target. In general, we want to only have a minimal configuration that works to be able to take upstream updates from the original CRA project. This means for example that there are extra things in the server build that would only make sense for the original web build.
Check #20 to see the changes.
Note that using this version of sharetribe-scripts
together with Flex Template for Web (FTW) requires a recent version of FTW daily or FTW hourly. See the FTW release notes for more information:
https://github.com/sharetribe/ftw-daily/releases/tag/v8.0.0
https://github.com/sharetribe/ftw-hourly/releases/tag/v10.0.0