The NetBSD Project

CVS log for pkgsrc/www/ruby-importmap-rails/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / www / ruby-importmap-rails

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 18 15:12:12 2026 UTC (9 months, 4 weeks ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, HEAD
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
www/ruby-importmap-rails: update to 2.2.3

2.2.3 (2026-01-07)

What's Changed

* Fix pin_all_from incorrectly removing "js" substring from filenames by
  @rafaelfranca in #313
* Handle package names with nested paths in import maps by @rafaelfranca in
  #322

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Nov 3 06:04:31 2025 UTC (12 months, 1 week ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4
www/ruby-importmap-rails: add version 2.2.2

This package is required by forthcoming ruby-redmin61 package.

# Importmap for Rails

[Import maps](https://github.com/WICG/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 ES modules (ESM) without the need for
transpiling or
bundling](https://world.hey.com/dhh/modern-web-apps-without-javascript-bundling-or-transpiling-a20f2755).
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 whole bundle, now only the cache for that
single file is invalidated.

[Import maps are supported natively in all major, modern
browsers](https://caniuse.com/?search=importmap).  If you need to work with
legacy browsers without native support, you can explore using [the shim
available](https://github.com/guybedford/es-module-shims).

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>