BSD Ports

www/rubygem-jsbundling-rails 1.3.1_2 DragonFly

Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
rubygems, www
Package size
8.3 KiB, 19.1 KiB installed

Description

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).

In the other systems

SystemPortVersion
DragonFlywww/rubygem-jsbundling-rails1.3.1_2
FreeBSDwww/rubygem-jsbundling-rails1.3.1_3
HardenedBSDwww/rubygem-jsbundling-rails1.3.1_3
GhostBSDwww/rubygem-jsbundling-rails1.3.1_3

Install

Binary package:

pkg install rubygem-jsbundling-rails

From DPorts:

cd /usr/dports/www/rubygem-jsbundling-rails && make install clean

Dependencies

Run dependencies 3
Required by 1