Sha256: 445a066f3b5200b843572ce0e5f95849d0bf79e1e1f2792bd6cfabdfd0643f6e
Contents?: true
Size: 630 Bytes
Versions: 10
Compression:
Stored size: 630 Bytes
Contents
<%= add_documentation_reference(config[:message], "// https://github.com/shakacode/react_on_rails_demo_ssr_hmr/blob/master/config/webpack/commonWebpackConfig.js") %> // Common configuration applying to client and server configuration const { webpackConfig: baseClientWebpackConfig, merge } = require('shakapacker'); const commonOptions = { resolve: { extensions: ['.css', '.ts', '.tsx'], }, }; // Copy the object using merge b/c the baseClientWebpackConfig and commonOptions are mutable globals const commonWebpackConfig = () => merge({}, baseClientWebpackConfig, commonOptions); module.exports = commonWebpackConfig;
Version data entries
10 entries across 10 versions & 1 rubygems