rails / jsbundling-rails

Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.
MIT License
831 stars 143 forks source link

chore: Move esbuild|rollup|webpack to devDependencies instead of dependencies #194

Closed saltyshiomix closed 1 month ago

saltyshiomix commented 3 months ago

In the JavaScript community, build tools are usually installed in devDependencies, so add the --dev option:

yarn add --dev esbuild

For example: https://esbuild.github.io/getting-started/

npm install --save-exact --save-dev esbuild