-
-
Save 123ish/4f5304b8e0196d78daf7bcf0489e539a to your computer and use it in GitHub Desktop.
Step-by-Step guide on how to move from Sprockets to Webpacker - packs/example1.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
/* app/javascript/packs/example1.js */ | |
var example1 = function doSomething() { | |
// Your codes here | |
} | |
export default example1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment