Skip to content

Commit

Permalink
Patch webpack config to load app.js after vendor js (#3436)
Browse files Browse the repository at this point in the history
  • Loading branch information
yellow5 authored and Gazler committed Jun 10, 2019
1 parent b34b84c commit b2e0420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/templates/phx_assets/webpack.config.js
Expand Up @@ -13,7 +13,7 @@ module.exports = (env, options) => ({
]
},
entry: {
'./js/app.js': ['./js/app.js'].concat(glob.sync('./vendor/**/*.js'))
'./js/app.js': glob.sync('./vendor/**/*.js').concat(['./js/app.js'])
},
output: {
filename: 'app.js',
Expand Down

0 comments on commit b2e0420

Please sign in to comment.