Explorar el Código

Add slash to publicPath

goanpeca hace 4 años
padre
commit
06e9977f8f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dev_mode/webpack.config.js

+ 1 - 1
dev_mode/webpack.config.js

@@ -222,7 +222,7 @@ module.exports = [
     },
     output: {
       path: plib.resolve(buildDir),
-      publicPath: 'static/lab/',
+      publicPath: '/static/lab/',
       filename: '[name].[chunkhash].js'
     },
     optimization: {