-
-
Save 123ish/256dbe5c7d501f4f9d0e7f9a4d211539 to your computer and use it in GitHub Desktop.
Step-by-Step guide on how to move from Sprockets to Webpacker - custom_loader.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/loaders/custom_loaders.js | |
module.exports = { | |
test: /\.ya?ml$/, | |
loaders: ['json-loader', 'yaml-loader'] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment