Sha256: 083123579198652d83edc19a1c3f446ebef5b76b9804c0f38e220115848dc35d
Contents?: true
Size: 717 Bytes
Versions: 6
Compression:
Stored size: 717 Bytes
Contents
<%= add_documentation_reference(config[:message], "// https://github.com/shakacode/react_on_rails_tutorial_with_ssr_and_hmr_fast_refresh/blob/master/config/webpack/clientWebpackConfig.js") %> const commonWebpackConfig = require('./commonWebpackConfig'); const configureClient = () => { const clientConfig = commonWebpackConfig(); // server-bundle is special and should ONLY be built by the serverConfig // In case this entry is not deleted, a very strange "window" not found // error shows referring to window["webpackJsonp"]. That is because the // client config is going to try to load chunks. delete clientConfig.entry['server-bundle']; return clientConfig; }; module.exports = configureClient;
Version data entries
6 entries across 6 versions & 1 rubygems