Created
March 19, 2019 14:07
-
-
Save gomorizsolt/df14f18f020fbbe649a3b1c0f853d66f to your computer and use it in GitHub Desktop.
Webpack - eliminate long imports
This file contains 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
module.exports = { | |
// ... | |
resolve: { | |
alias: { | |
"~": path.resolve(__dirname, "src/"), | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment