Skip to content

Commit

Permalink
Build: Remove path.resolve in webpack build (#11462)
Browse files Browse the repository at this point in the history
  • Loading branch information
platinumazure authored and not-an-aardvark committed Mar 2, 2019
1 parent ec59ec0 commit 4088c6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.js
Expand Up @@ -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"),
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 4088c6c

Please sign in to comment.