File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ if (fs.existsSync('./src/index.html')) {
5050 ) ;
5151}
5252
53- const publicPath = process . env . BUILD_PUBLIC_PATH ;
53+ const publicPath = process . env . BUILD_PUBLIC_PATH || '/' ;
5454
5555// env config object from command line: https://webpack.js.org/guides/environment-variables/
5656module . exports = ( env ) => webpackBaseConfig ( {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ if (fs.existsSync('./src/index.html')) {
4949 ) ;
5050}
5151
52- const publicPath = process . env . BUILD_PUBLIC_PATH ;
52+ const publicPath = process . env . BUILD_PUBLIC_PATH || '/' ;
5353
5454// env config object from command line: https://webpack.js.org/guides/environment-variables/
5555module . exports = ( env ) => webpackBaseConfig ( {
You can’t perform that action at this time.
0 commit comments