File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ const createDomain = require('./utils/createDomain');
31
31
const runBonjour = require ( './utils/runBonjour' ) ;
32
32
const routes = require ( './utils/routes' ) ;
33
33
const getSocketServerImplementation = require ( './utils/getSocketServerImplementation' ) ;
34
- const setPublicPath = require ( './utils/setPublicPath' ) ;
35
34
const schema = require ( './options.json' ) ;
36
35
37
36
// Workaround for node ^8.6.0, ^9.0.0
@@ -60,8 +59,6 @@ class Server {
60
59
this . compiler = compiler ;
61
60
this . options = options ;
62
61
63
- setPublicPath ( compiler , options ) ;
64
-
65
62
// Setup default value
66
63
this . options . contentBase =
67
64
this . options . contentBase !== undefined
Original file line number Diff line number Diff line change 6
6
*/
7
7
const webpack = require ( 'webpack' ) ;
8
8
const addEntries = require ( './addEntries' ) ;
9
+ const setPublicPath = require ( './setPublicPath' ) ;
9
10
10
11
function updateCompiler ( compiler , options ) {
12
+ setPublicPath ( compiler , options ) ;
13
+
11
14
if ( options . inline !== false ) {
12
15
const findHMRPlugin = ( config ) => {
13
16
if ( ! config . plugins ) {
You can’t perform that action at this time.
0 commit comments