Configuration and Code Files
Explore how to set up and configure Webpacker and webpack in Rails including environment-specific files, loaders, and key config files like tsconfig.json. Understand how application code files and packs are organized with examples of default packs and integration with Rails UJS, Turbolinks, and CSS preprocessing.
We'll cover the following...
We'll cover the following...
Configuration files
The next category of files contains the configuration of webpack and Webpacker. There is a YAML file called config/webpacker.yml that has some general Webpacker options, including where to look for ...
Webpacker introduces a ...