Created
August 24, 2018 06:17
-
-
Save sxwebdev/d42d6b1186dca3859b96609d375e2fdd to your computer and use it in GitHub Desktop.
add jquery to webpack
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
plugins: [ | |
new webpack.ProvidePlugin({ | |
$: "jquery/dist/jquery.min.js", | |
jQuery: "jquery/dist/jquery.min.js", | |
"window.jQuery": "jquery/dist/jquery.min.js" | |
}) | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment