summaryrefslogtreecommitdiff
path: root/www/rubygem-jsbundling-rails-rails80/pkg-descr
diff options
context:
space:
mode:
Diffstat (limited to 'www/rubygem-jsbundling-rails-rails80/pkg-descr')
-rw-r--r--www/rubygem-jsbundling-rails-rails80/pkg-descr12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/rubygem-jsbundling-rails-rails80/pkg-descr b/www/rubygem-jsbundling-rails-rails80/pkg-descr
new file mode 100644
index 000000000000..a9cca1c01efb
--- /dev/null
+++ b/www/rubygem-jsbundling-rails-rails80/pkg-descr
@@ -0,0 +1,12 @@
+Use esbuild, rollup.js, or Webpack to bundle your JavaScript, then deliver it
+via the asset pipeline in Rails. This gem provides installers to get you going
+with the bundler of your choice in a new Rails application, and a convention to
+use app/assets/builds to hold your bundled output as artifacts that are not
+checked into source control (the installer adds this directory to .gitignore by
+default).
+
+You develop using this approach by running the bundler in watch mode in a
+terminal with yarn build --watch (and your Rails server in another, if you're
+not using something like puma-dev). You can also use ./bin/dev, which will start
+both the Rails server and the JS build watcher (along with a CSS build watcher,
+if you're also using cssbundling-rails).