Sha256: 8f28d925a3f654334a98b041c714b95e2a707a17bcbbd2feb2ccfa40fb99128c
Contents?: true
Size: 691 Bytes
Versions: 20
Compression:
Stored size: 691 Bytes
Contents
<%= add_documentation_reference(config[:message], "// https://github.com/shakacode/react_on_rails_demo_ssr_hmr/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
20 entries across 20 versions & 1 rubygems