This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Didn't find anything on google for this so I wrote my own. Use as a starting point if you have a similar problem. | |
// Please write comments if there is a better way to do this (or solve the same problem in another way) in webpack. | |
// Contents of config/webpack/environment.js: | |
const { environment } = require('@rails/webpacker') | |
// Generate undigested assets for use in embedded javascript, emails, etc. | |
// We previously used non-stupid-digest-assets for this. |