entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb
Method webpack_config
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def webpack_config
gsub_file(
'config/webpack/webpack.config.js',
"const { generateWebpackConfig } = require('shakapacker')",
"const { generateWebpackConfig, merge, mergeWithRules } = require('shakapacker')"