Added
Fixed
- Fixed implicit SWC defaults for existing webpack/Babel apps without
swc-loader. PR #1206 by justin808. Webpack apps that omit bothjavascript_transpilerand the deprecatedwebpack_loadernow fall back to Babel with a warning when Shakapacker's bundled SWC default is active,swc-loaderis missing, and Babel is present. Explicit transpiler settings, webpack apps withswc-loader, and Rspack's built-in SWC path keep their existing behavior. Closes #1203. - Fixed JavaScript config loading for missing Rails environments to use the production fallback. PR #1206 by justin808. When
RAILS_ENVhas no matching section inconfig/shakapacker.yml, the Node package config now merges theproductionsection instead of only bundled defaults, matching Ruby configuration loading and honoring explicit productionjavascript_transpiler,source_path,dev_server, and related settings for custom environments such as staging. - Fixed helper binstubs delegating Node resolution to Ruby
execin unset and emptyPATHenvironments. PR #1200 and PR #1201 by justin808. Restores shell-compatible Node lookup forbin/shakapacker-configandbin/diff-bundler-configafter thev10.2.0Ruby-binstub regression, while keeping friendly missing-Node errors forENOENTandEACCES.