From 66f4cd7fedfcc6ab3214476a5b791b8b908973fb Mon Sep 17 00:00:00 2001 From: Pat Herlihy Date: Fri, 7 Sep 2018 11:01:21 -0400 Subject: [PATCH] fix(karma-webpack): don't include the `os.tmpdir` (`output.publicPath`) (#338) --- src/karma-webpack.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/karma-webpack.js b/src/karma-webpack.js index f2f7644..4133442 100644 --- a/src/karma-webpack.js +++ b/src/karma-webpack.js @@ -81,7 +81,7 @@ function Plugin( '/' ); webpackOptions.output.publicPath = path.join( - os.tmpdir(), + '/', '_karma_webpack_', publicPath, '/' @@ -211,7 +211,7 @@ function Plugin( compiler.hooks.invalid.tap(this.plugin, invalid.bind(this)); webpackMiddlewareOptions.publicPath = path.join( - os.tmpdir(), + '/', '_karma_webpack_', '/' );