mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[optimizer/webpackConfig] protect against missing basePath
This commit is contained in:
parent
0ed8889de1
commit
0e8d481902
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class BaseOptimizer {
|
|||
path: this.env.workingDir,
|
||||
filename: '[name].bundle.js',
|
||||
sourceMapFilename: '[file].map',
|
||||
publicPath: this.urlBasePath + '/bundles/',
|
||||
publicPath: (this.urlBasePath || '') + '/bundles/',
|
||||
devtoolModuleFilenameTemplate: '[absolute-resource-path]'
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue