Rails framework default JavaScript bundler "Webpacker" officially retired

Rails framework default JavaScript bundler "Webpacker" officially retired

Rails is a web application framework, one of the earliest and most famous Ruby frameworks, and can be said to be a pioneer in MVC (Model-View-Controller) development.

In versions prior to 7.0, Rails has always used Webpacker as its default JavaScript bundler. However, with the integration of the three major JavaScript bundlers esbuild, rollup.js and Webpack in Rails 7.0, Webpacker has become irrelevant (for a detailed analysis of the new JS integration package jsbundling-rails, click here).

Finally, on January 19, 2022, the Webpacker development team officially announced that the project has been retired.

Webpacker's version number remains at v6.0.0.rc.6. The official version 6.0 has stopped development or release. The unreleased Webpacker v6 code has been transferred to a new gem package called Shakapacker for continued development. But even if v6 is released, Rails will not release it as an official gem package (gem is the package format of the Ruby language).

Since the old version of Rails framework still relies on Webpacker, the Webpacker 5.x series is still maintained. However, the official recommendation is to migrate to other JavaScript bundlers as soon as possible, and a migration guide is provided - especially recommending migration to Webpack.

This article is reproduced from OSCHINA

Article title: Rails framework default JavaScript packager "Webpacker" officially retired

This article address: https://www.oschina.net/news/179482/webpacker-has-been-retired

<<:  Apple releases iOS 15.3 RC and closes iOS 15.2 verification channel

>>:  Why are mobile phone prices dropping so fast? There are three reasons

Recommend

Solve the problem that the phone cannot copy 4GB files

Reasons why you cannot copy files larger than 4GB...

Steps to unblock WeChat, how to unblock WeChat?

In fact, sometimes we use one-click forwarding to...

World Blood Donor Day丨Every time you do this, you may be able to save 3 lives!

Did you know? 200ml of blood per donation (whole ...

It took 270 hours to copy a classic sculpture. Can robots replace Michelangelo?

© Through Eternity Tours Leviathan Press: Michela...

Market distribution strategy distribution notes!

How to activate channels and distributors and imp...

Analyzing Pinduoduo’s marketing strategy from the perspective of classic 4C

This article mainly analyzes Pinduoduo from the p...

2021 618 Xiaohongshu Industry Advertising Report

The 618 promotion has developed into a major node...

Where is carbon dioxide placed? This time there are many new destinations!

Review expert: Gan Qiang, lecturer at Beijing Ins...

Thoughts on creating popular e-commerce products

In June 2020, I came to Shenzhen and started to b...