We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efff472 commit 51c6eb2Copy full SHA for 51c6eb2
lib/webpack/createBaseConfig.js
@@ -221,7 +221,7 @@ module.exports = function createBaseConfig ({
221
config
222
.plugin('injections')
223
.use(require('webpack/lib/DefinePlugin'), [{
224
- BASE_URL: JSON.stringify(siteConfig.base),
+ BASE_URL: JSON.stringify(siteConfig.base || '/'),
225
GA_ID: siteConfig.ga ? JSON.stringify(siteConfig.ga) : false,
226
SW_ENABLED: !!siteConfig.serviceWorker
227
}])
0 commit comments