mirror of
https://github.com/anatolykopyl/vue-three-d-mockup.git
synced 2026-03-26 12:55:08 +00:00
Public path only in prod
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
publicPath: '/vue-three-d-mockup/',
|
||||
publicPath: process.env.NODE_ENV === 'production' ? '/vue-three-d-mockup/' : '/',
|
||||
chainWebpack: (config) => {
|
||||
config.module
|
||||
.rule('file-loader')
|
||||
|
||||
Reference in New Issue
Block a user