mirror of
https://github.com/Xevion/history-of-robotics.git
synced 2025-12-06 15:15:17 -06:00
fix publicPath incorrect on local dev server
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
outputDir: './docs/',
|
||||
publicPath: '/history-of-robotics/',
|
||||
publicPath: process.env.NODE_ENV === 'production' ? '/history-of-robotics/' : '/',
|
||||
chainWebpack: config => {
|
||||
config.module
|
||||
.rule('vue')
|
||||
|
||||
Reference in New Issue
Block a user