Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
fix(vue-cli): Add profile option for baseUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Sep 10, 2018
1 parent 7a31774 commit b927d8b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 91 deletions.
41 changes: 11 additions & 30 deletions packages/cli-plugin-browsersync/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 11 additions & 30 deletions packages/cli-plugin-fractal/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cli-plugin-vue/src/webpack/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = (config, baseVueConfig) => {
if (config.vueCli.baseUrl === 'string') {
baseUrl = config.vueCli.baseUrl;
} else {
baseUrl = process.env.NODE_ENV === 'production' ? baseUrl.production : baseUrl.development;
baseUrl = process.env.NODE_ENV === 'production' ? config.vueCli.baseUrl.production : config.vueCli.baseUrl.development;
}

const vueConfig = {
Expand Down
Loading

0 comments on commit b927d8b

Please sign in to comment.