Skip to content

Commit

Permalink
Don't store autoload on the JS object.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyWay committed Jan 25, 2017
1 parent 350fb43 commit f00a04f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup/webpack.config.js
Expand Up @@ -235,7 +235,7 @@ module.exports.devServer = {
*/

module.exports.plugins = (module.exports.plugins || []).concat([
new webpack.ProvidePlugin(Mix.js.autoload || {
new webpack.ProvidePlugin(Mix.autoload || {
jQuery: 'jquery',
$: 'jquery',
jquery: 'jquery',
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -68,7 +68,7 @@ module.exports.autoload = (libs) => {
});
});

Mix.js.autoload = aliases;
Mix.autoload = aliases;

return this;
};
Expand Down

0 comments on commit f00a04f

Please sign in to comment.