Skip to content

Commit 66f4cd7

Browse files
pat841michael-ciniawsky
authored andcommitted
fix(karma-webpack): don't include the os.tmpdir (output.publicPath) (#338)
1 parent 2145ec2 commit 66f4cd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/karma-webpack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function Plugin(
8181
'/'
8282
);
8383
webpackOptions.output.publicPath = path.join(
84-
os.tmpdir(),
84+
'/',
8585
'_karma_webpack_',
8686
publicPath,
8787
'/'
@@ -211,7 +211,7 @@ function Plugin(
211211
compiler.hooks.invalid.tap(this.plugin, invalid.bind(this));
212212

213213
webpackMiddlewareOptions.publicPath = path.join(
214-
os.tmpdir(),
214+
'/',
215215
'_karma_webpack_',
216216
'/'
217217
);

0 commit comments

Comments
 (0)