diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-18 18:36:00 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-20 08:04:50 +0300 |
commit | ae89a890555de905505d1dcfd0ec593a40ddb26e (patch) | |
tree | d6522ac0aec4f922cb83d0fb45d1ca43a4f89e66 /config | |
parent | 6eb45df2fd62c85920c3ef025d7dacadcda05bf4 (diff) |
utilize pre-minified Vue in production since no CJS distribution is available
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 9bee7baceb7..9463e0a7ecb 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -90,8 +90,7 @@ var config = { 'bootstrap/js': 'bootstrap-sass/assets/javascripts/bootstrap', 'emoji-aliases$': path.join(ROOT_PATH, 'fixtures/emojis/aliases.json'), 'vendor': path.join(ROOT_PATH, 'vendor/assets/javascripts'), - 'vue$': 'vue/dist/vue.js', - 'vue-resource$': 'vue-resource/dist/vue-resource.js' + 'vue$': IS_PRODUCTION ? 'vue/dist/vue.min.js' : 'vue/dist/vue.js', } } } |