Closed jcoyne closed 1 year ago
The below should work in the console
$ npm pkg set scripts.build="webpack --config webpack.config.js"
Should be a simple fix in the code base:
Replace
run %(npm set-script build "#{build_script}")
with
run %(npm pkg set scripts.build="#{build_script}")
It is used here: https://github.com/rails/jsbundling-rails/blob/5e6758f077f0be59f94ea34678c2f8c452f2ba32/lib/install/esbuild/install.rb#L10