Created
July 15, 2020 05:21
-
-
Save kevinhq/23a82c426e0aa9e6f30484676a8312a1 to your computer and use it in GitHub Desktop.
Step-by-Step guide on how to move from Sprockets to Webpacker - production.js
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
// config/webpack/production.js | |
process.env.NODE_ENV = 'production'; | |
const environment = require('./environment'); | |
module.exports = environment.toWebpackConfig(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment