[DRE-commits] [gitlab] 01/02: set NODE_PATH and --context for webpack command

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Aug 23 04:17:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master-9.2
in repository gitlab.

commit 93b51606118f280b4ca80f0616bd5681ae2cf963
Author: Pirate Praveen <praveen at debian.org>
Date:   Wed Aug 23 09:13:29 2017 +0530

    set NODE_PATH and --context for webpack command
---
 debian/patches/0400-use-npm-webpack.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/0400-use-npm-webpack.patch b/debian/patches/0400-use-npm-webpack.patch
index 2aad84c..913890a 100644
--- a/debian/patches/0400-use-npm-webpack.patch
+++ b/debian/patches/0400-use-npm-webpack.patch
@@ -5,7 +5,7 @@
      "karma-start": "karma start config/karma.config.js",
      "webpack": "webpack --config config/webpack.config.js",
 -    "webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
-+    "webpack-prod": "NODE_ENV=production node_modules/.bin/webpack --config config/webpack.config.js"
++    "webpack-prod": "NODE_ENV=production NODE_PATH=/usr/share/gitlab/node_modules node_modules/.bin/webpack --context /usr/share/gitlab/app/assets/javascripts --config config/webpack.config.js"
    },
    "dependencies": {
      "babel-core": "^6.22.1",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list