Skip to content

Commit

Permalink
minor #694 Removed jQuery from auto provided variables in webpack con…
Browse files Browse the repository at this point in the history
…fig (mathop)

This PR was merged into the master branch.

Discussion
----------

Removed jQuery from auto provided variables in webpack config

`window.jQuery` is already defined in `autoProvidejQuery` function, there's no need to override:

https://github.com/symfony/webpack-encore/blob/v0.9.1/lib/WebpackConfig.js#L271

Commits
-------

9860ffd Removed jQuery from auto provided variables in webpack config.
  • Loading branch information
javiereguiluz committed Dec 19, 2017
2 parents a65b22f + 9860ffd commit a94e54e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion webpack.config.js
Expand Up @@ -6,7 +6,6 @@ Encore
.cleanupOutputBeforeBuild()
.autoProvidejQuery()
.autoProvideVariables({
"window.jQuery": "jquery",
"window.Bloodhound": require.resolve('bloodhound-js'),
"jQuery.tagsinput": "bootstrap-tagsinput"
})
Expand Down

0 comments on commit a94e54e

Please sign in to comment.