Become a member
Sign in
Thiago Dias
Thiago Dias

Thiago Dias

85 Following
85 Followers
  • Profile
  • Claps
  • Highlights
  • Responses

Latest

Thiago Dias
Thiago Dias
Jun 2 · 2 min read

Load jQuery with Webpacker in Rails

Context

Looking at some tutorials I’ve seen many people recommending adding the following code to your config/webpack/environment.js:

#config/webpack/environment.jsconst webpack =…
Thiago Dias
Thiago Dias
Jun 2 · 1 min read

Cannot assign to read only property ‘exports’ of object ‘#<Object>’

Context

Just installed Rails 6 and created a new app to test out Webpack.

Nothing fancy, just a simple controller with an empty view, and a Procfile that…

24

2 responses