jsbundling-rails
jsbundling-rails copied to clipboard
Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.
Hello! I'd like to rename my `yarn build` to `yarn build:js` because the `build` script is used by my deployment system. This PR makes this possible. I tried to keep...
This should help devs who added the gem to a Rails app after initially generating the app. Background is at https://github.com/rails/jsbundling-rails/issues/208
In #178 a new webpack configuration `chunkFormat: "module"` was added, and released in version 1.2.2. This configuration flag does not exist in [webpack 4](https://v4.webpack.js.org/configuration/output/), and was [added in webpack 5](https://github.com/webpack/webpack/pull/11385)....
This PR removes the '--public-path=/assets` option from the generator (install.rb). Background: The esbuild option `--public-path` is meant to be used to define alternate absolute asset hosts for file loaders. The...