Port details on branch 2024Q1 |
- rubygem-importmap-rails-rails70 Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling
- 2.1.0 www =2 2.0.3Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2023-11-01 08:01:22
- Last Update: 2024-12-31 15:54:48
- Commit Hash: b8ee5ad
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: rubygems
- License: MIT
- WWW:
- https://github.com/rails/importmap-rails
- Description:
- Import maps let you import JavaScript modules using logical names that map to
versioned/digested files -- directly from the browser. So you can build modern
JavaScript applications using JavaScript libraries made for ESM without the need
for transpiling or bundling.This frees you from needing Webpack, Yarn, npm, or
any other part of the JavaScript toolchain. All you need is the asset pipeline
that's already included in Rails.
With this approach you'll ship many small JavaScript files instead of one big
JavaScript file. Thanks to HTTP/2 that no longer carries a material performance
penalty during the initial transport, and in fact offers substantial benefits
over the long run due to better caching dynamics. Whereas before any change to
any JavaScript file included in your big bundle would invalidate the cache for
the the whole bundle, now only the cache for that single file is invalidated.
There's native support for import maps in Chrome/Edge 89+, and a shim available
for any browser with basic ESM support. So your app will be able to work with
all the evergreen browsers.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-importmap-rails-rails70>0:www/rubygem-importmap-rails-rails70
- To install the port:
- cd /usr/ports/www/rubygem-importmap-rails-rails70/ && make install clean
- To add the package, run one of these commands:
- pkg install www/rubygem-importmap-rails-rails70
- pkg install rubygem-importmap-rails-rails70
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-importmap-rails-rails70
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1735381767
SHA256 (rubygem/importmap-rails-2.1.0.gem) = 9f10c67d60651a547579f448100d033df311c5d5db578301374aeb774faae741
SIZE (rubygem/importmap-rails-2.1.0.gem) = 17408
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Runtime dependencies:
-
- rubygem-actionpack70>=6.0.0 : www/rubygem-actionpack70
- rubygem-activesupport70>=6.0.0 : devel/rubygem-activesupport70
- rubygem-railties70>=6.0.0 : www/rubygem-railties70
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- www/rubygem-rails70
Configuration Options:
- No options to configure
- Options name:
- www_rubygem-importmap-rails-rails70
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|