From 4088c6c9d4578cd581ce8ff4385d90b58a75b755 Mon Sep 17 00:00:00 2001 From: Kevin Partington Date: Fri, 1 Mar 2019 20:22:10 -0600 Subject: [PATCH] Build: Remove path.resolve in webpack build (#11462) --- Makefile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.js b/Makefile.js index c34b1c8f2f8..00379638301 100644 --- a/Makefile.js +++ b/Makefile.js @@ -53,7 +53,7 @@ const NODE = "node ", // intentional extra space NODE_MODULES = "./node_modules/", TEMP_DIR = "./tmp/", DEBUG_DIR = "./debug/", - BUILD_DIR = "./build/", + BUILD_DIR = "build", DOCS_DIR = "../eslint.github.io/docs", SITE_DIR = "../eslint.github.io/", PERF_TMP_DIR = path.join(TEMP_DIR, "eslint", "performance"), @@ -795,7 +795,7 @@ target.gensite = function(prereleaseVersion) { }; target.webpack = function(mode = "none") { - exec(`${getBinFile("webpack")} --mode=${mode} --output-path=${path.resolve(__dirname, BUILD_DIR)}`); + exec(`${getBinFile("webpack")} --mode=${mode} --output-path=${BUILD_DIR}`); }; target.checkRuleFiles = function() {