# \#webpacker

**URL:** https://discuss.rubyonrails.org/tag/webpacker/12.md

[Latest](https://discuss.rubyonrails.org/latest.md) · [Categories](https://discuss.rubyonrails.org/categories.md) · [Tags](https://discuss.rubyonrails.org/tags.md)

---

## [Running rails with external assets\_host and path](https://discuss.rubyonrails.org/t/running-rails-with-external-assets-host-and-path/85107)

<div class="topic-metadata">

**Author:** [@green3g](https://discuss.rubyonrails.org/u/green3g)\
**Replies:** 1\
**Last updated:** [March 11, 2024, 6:42pm UTC](https://discuss.rubyonrails.org/t/running-rails-with-external-assets-host-and-path/85107 "2024-03-11T18:42:36Z")

</div>

I’m trying to use a cdn for deployment of application assets, and I"d like to be able to maintain multiple versions of these assets in the cdn, so when we do new deploys, the application can request the new versions of t…

---

## [Request for advice on stack](https://discuss.rubyonrails.org/t/request-for-advice-on-stack/80761)

<div class="topic-metadata">

**Author:** [@aashish111](https://discuss.rubyonrails.org/u/aashish111)\
**Replies:** 0\
**Last updated:** [June 2, 2022, 10:36am UTC](https://discuss.rubyonrails.org/t/request-for-advice-on-stack/80761 "2022-06-02T10:36:44Z")

</div>

hi guys, i am a bit confused on which stack to choose, here are the options I could come up with after research: shakapacker + esbuild-loader + react + ror shakapacker + esbuild-loader + solid + ror ror api + nextjs sin…

---

## [Shakapacker (aka Webapcker v6) has support for SWC.rs and esbuild-loader](https://discuss.rubyonrails.org/t/shakapacker-aka-webapcker-v6-has-support-for-swc-rs-and-esbuild-loader/79968)

<div class="topic-metadata">

**Author:** [@Justin\_Gordon](https://discuss.rubyonrails.org/u/Justin_Gordon)\
**Replies:** 0\
**Last updated:** [February 7, 2022, 2:21am UTC](https://discuss.rubyonrails.org/t/shakapacker-aka-webapcker-v6-has-support-for-swc-rs-and-esbuild-loader/79968 "2022-02-07T02:21:08Z")

</div>

Hi everybody! In case you’re curious about faster compilation when using webpack, we’ve just released support for swc.rs and esbuild-loader with Shakapacker, the successor to Webpacker. We’ve got some documentation: U…

---

## [I can't solved Webpacker::Manifest::MissingEntryError](https://discuss.rubyonrails.org/t/i-cant-solved-webpacker-missingentryerror/79604)

<div class="topic-metadata">

**Author:** [@WormerKing](https://discuss.rubyonrails.org/u/WormerKing)\
**Replies:** 1\
**Last updated:** [December 25, 2021, 9:06pm UTC](https://discuss.rubyonrails.org/t/i-cant-solved-webpacker-missingentryerror/79604 "2021-12-25T21:06:23Z")

</div>

First of all, good forum to all. I’m trying to develop a simple application with Rails, but I’m getting Webpacker::Manifest::MissingEntryError. Does anyone know how to solve this problem? Console Error: =\> Booting Puma…

---

## [Using webpack with app upgraded from Rails 6 to Rails 7](https://discuss.rubyonrails.org/t/using-webpack-with-app-upgraded-from-rails-6-to-rails-7/79582)

<div class="topic-metadata">

**Author:** [@jkwuc89](https://discuss.rubyonrails.org/u/jkwuc89)\
**Replies:** 1\
**Last updated:** [December 22, 2021, 5:31pm UTC](https://discuss.rubyonrails.org/t/using-webpack-with-app-upgraded-from-rails-6-to-rails-7/79582 "2021-12-22T17:31:42Z")

</div>

I am in the process of upgrading my company’s Rails 6 app to Rails 7 and I’ve run into a webpack issue when attempting to deploy this app to Heroku. This app is using webpacker for JavaScript. During rake assets:precomp…

---

## [Integrate a graphic kit in a weback](https://discuss.rubyonrails.org/t/integrate-a-graphic-kit-in-a-weback/79175)

<div class="topic-metadata">

**Author:** [@Zatarox](https://discuss.rubyonrails.org/u/Zatarox)\
**Replies:** 1\
**Last updated:** [October 23, 2021, 9:36am UTC](https://discuss.rubyonrails.org/t/integrate-a-graphic-kit-in-a-weback/79175 "2021-10-23T09:36:46Z")

</div>

Hello, I have a problem to integrate a graphical kit using UIKit and Plyrs with rails. Until now I was using directly the JS files provided, but I decided to create a pack and use yarn to get its 2 libraries (note: I’m …

---

## [Webpacker - Bootstrap - JQuery, what am I doing wrong (and why so hard?)](https://discuss.rubyonrails.org/t/webpacker-bootstrap-jquery-what-am-i-doing-wrong-and-why-so-hard/77105)

<div class="topic-metadata">

**Author:** [@Confused\_Vorlon](https://discuss.rubyonrails.org/u/Confused_Vorlon)\
**Replies:** 22\
**Last updated:** [August 31, 2021, 9:20pm UTC](https://discuss.rubyonrails.org/t/webpacker-bootstrap-jquery-what-am-i-doing-wrong-and-why-so-hard/77105 "2021-08-31T21:20:53Z")

</div>

I have a Rails 6 app that uses jQuery and Bootstrap - including js elements from Bootstrap. this code should show the modal, but only works in some places: $("#modalOverlay").modal("show"); run from console: works …

---

## [Running rails server with foreman showing error](https://discuss.rubyonrails.org/t/running-rails-server-with-foreman-showing-error/78797)

<div class="topic-metadata">

**Author:** [@SM\_Ehsan](https://discuss.rubyonrails.org/u/SM_Ehsan)\
**Replies:** 0\
**Last updated:** [August 27, 2021, 10:51am UTC](https://discuss.rubyonrails.org/t/running-rails-server-with-foreman-showing-error/78797 "2021-08-27T10:51:00Z")

</div>

Hello When i am running foreman start to run the local server, it is always showing the following message and stop working. 16:45:22 web.1 | started with pid 6193 16:45:22 webpacker.1 | started with pid 6194 16:4…

---

## [Webpacker presents a more difficult OOB experience for JS Sprinkles than Sprockets did](https://discuss.rubyonrails.org/t/webpacker-presents-a-more-difficult-oob-experience-for-js-sprinkles-than-sprockets-did/75345)

<div class="topic-metadata">

**Author:** [@Fjan](https://discuss.rubyonrails.org/u/Fjan)\
**Replies:** 33\
**Last updated:** [February 7, 2021, 3:22pm UTC](https://discuss.rubyonrails.org/t/webpacker-presents-a-more-difficult-oob-experience-for-js-sprinkles-than-sprockets-did/75345 "2021-02-07T15:22:07Z")

</div>

This may be a controversial opinion, but most of the web apps do not need to be SPAs (Single Page Applications) and are much easier and quicker developed using standard Rails templates, perhaps with a sprinkling of JavaS…

---

## [Patterns and best practices for trivial JS or simple DOM manipulation in Webpacker?](https://discuss.rubyonrails.org/t/patterns-and-best-practices-for-trivial-js-or-simple-dom-manipulation-in-webpacker/76272)

<div class="topic-metadata">

**Author:** [@robjlucas](https://discuss.rubyonrails.org/u/robjlucas)\
**Replies:** 2\
**Last updated:** [October 3, 2020, 2:23pm UTC](https://discuss.rubyonrails.org/t/patterns-and-best-practices-for-trivial-js-or-simple-dom-manipulation-in-webpacker/76272 "2020-10-03T14:23:45Z")

</div>

For projects where most existing JS is a matter of minor bits of JQuery DOM-manipulation, tightly bound to views, attempts to abstract out JS into proper modules can seem forced or counterproductive. To my mind, putting …

---

## [How to pack js from a different gem/engine in Rails 6 + webpacker? It seems frustrating](https://discuss.rubyonrails.org/t/how-to-pack-js-from-a-different-gem-engine-in-rails-6-webpacker-it-seems-frustrating/75364)

<div class="topic-metadata">

**Author:** [@kmitov](https://discuss.rubyonrails.org/u/kmitov)\
**Replies:** 9\
**Last updated:** [July 9, 2020, 1:15pm UTC](https://discuss.rubyonrails.org/t/how-to-pack-js-from-a-different-gem-engine-in-rails-6-webpacker-it-seems-frustrating/75364 "2020-07-09T13:15:57Z")

</div>

Our platform is divided on several smaller gems and engines. Some of the gems and engines have js files in them. This is not something that could be packed on npm. Those are not npm modules. Just some javascript “sprinkl…

---

## [Mis-ignored errors when installing Webpacker in existing app](https://discuss.rubyonrails.org/t/mis-ignored-errors-when-installing-webpacker-in-existing-app/75173)

<div class="topic-metadata">

**Author:** [@Betsy\_Haibel](https://discuss.rubyonrails.org/u/Betsy_Haibel)\
**Replies:** 0\
**Last updated:** [May 17, 2020, 12:28am UTC](https://discuss.rubyonrails.org/t/mis-ignored-errors-when-installing-webpacker-in-existing-app/75173 "2020-05-17T00:28:14Z")

</div>

Today I was installing Webpacker in an existing app that already has a package.json. (The reasons for the existing package.json are boring and probably irrelevant.) Turns out if there’s conflicts between webpacker’s need…

---

## [Webpacker stripe image](https://discuss.rubyonrails.org/t/webpacker-stripe-image/74233)

<div class="topic-metadata">

**Author:** [@merlin2049er](https://discuss.rubyonrails.org/u/merlin2049er)\
**Replies:** 5\
**Last updated:** [May 25, 2020, 8:36pm UTC](https://discuss.rubyonrails.org/t/webpacker-stripe-image/74233 "2020-05-25T20:36:05Z")

</div>

Hi, I’m using webpacker and I’ve got a product image I want to pass to my stripe checkout session, but webpacker adds a suffix to the file name, and when I attempt to pass that image to stripe it can’t find it. Anyone, …
