summaryrefslogtreecommitdiff
path: root/config/application.rb
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-10-18 17:46:48 -0500
committerMike Greiling <mike@pixelcog.com>2017-01-06 10:21:01 -0600
commit4c5ff1d08ef5ddb7db432b864e18dd7674fbc116 (patch)
tree7592f65f9010b2bb7df16ba138ee5c56258a53f7 /config/application.rb
parent57652bf58482dd1b4ac26b5f804d3d4ece6591d8 (diff)
downloadgitlab-ce-4c5ff1d08ef5ddb7db432b864e18dd7674fbc116.tar.gz
add webpack, webpack-rails, and webpack-dev-server along with a simple hello world test
Add the following line to GDK Procfile to play with it: webpack: exec support/exec-cd gitlab npm run dev-server
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index d36c6d5c92e..02839dba1ed 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -80,6 +80,11 @@ module Gitlab
# like if you have constraints or database-specific column types
# config.active_record.schema_format = :sql
+ # Configure webpack
+ config.webpack.config_file = "config/webpack.config.js"
+ config.webpack.output_dir = "public/assets/webpack"
+ config.webpack.public_path = "assets/webpack"
+
# Enable the asset pipeline
config.assets.enabled = true
config.assets.paths << Gemojione.images_path