From b2e0420ba41849cfc81b2040f127796e86655587 Mon Sep 17 00:00:00 2001 From: Cameron Dykes Date: Mon, 10 Jun 2019 03:03:10 -0500 Subject: [PATCH] Patch webpack config to load app.js after vendor js (#3436) --- installer/templates/phx_assets/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/templates/phx_assets/webpack.config.js b/installer/templates/phx_assets/webpack.config.js index 40b8fa6842..ad20831753 100644 --- a/installer/templates/phx_assets/webpack.config.js +++ b/installer/templates/phx_assets/webpack.config.js @@ -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',