Posted 5 months ago. Visible to the public.

Debugging Webpacker config

In config/webpack/environment.js you can get inspect environment which includes all webpack config options set for the current environment:

Copy
const { environment } = require('@rails/webpacker') const webpack = require('webpack') throw JSON.stringify(environment, null, 2) ...
Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Owner of this card:

Avatar
Natalie Krehan
Last edit:
5 months ago
by Besprechungs-PC
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Natalie Krehan to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more