Permalink
Browse files

feat: CLI improvements

  • Loading branch information...
pi0 committed Mar 31, 2018
1 parent c944b00 commit 481e6da8ec4b28041d755fdd4ca1a404dc6ed89f
Showing with 16 additions and 10 deletions.
  1. +2 −3 lib/module.js
  2. +2 −3 package.json
  3. +12 −4 yarn.lock
@@ -1,4 +1,3 @@
const chalk = require('chalk')
const path = require('path')
const consola = require('consola')

@@ -96,8 +95,8 @@ module.exports = function nuxtAxios (_moduleOptions) {
// Set _AXIOS_BASE_URL_ for dynamic SSR baseURL
process.env._AXIOS_BASE_URL_ = options.baseURL

logger.info(`BaseURL: ${chalk.green(options.baseURL)}`)
logger.info(`BaseURL (Browser): ${chalk.green(options.browserBaseURL)}`)
logger.debug(`baseURL: ${options.baseURL}`)
logger.debug(`browserBaseURL: ${options.browserBaseURL}`)
}

module.exports.meta = require('../package.json')
@@ -34,11 +34,10 @@
]
},
"dependencies": {
"@nuxtjs/proxy": "^1.2.1",
"@nuxtjs/proxy": "^1.2.3",
"axios": "^0.18.0",
"axios-retry": "^3.0.2",
"chalk": "^2.3.2",
"consola": "^1.0.0"
"consola": "^1.1.1"
},
"devDependencies": {
"codecov": "latest",

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 481e6da

Please sign in to comment.