multiplegeorges / vue-cli-plugin-s3-deploy

A vue-cli plugin that uploads your built Vue.js project to an S3 bucket
MIT License
331 stars 51 forks source link

Fix bug with returning undefined from method deployPath #109

Closed tarasbilohan closed 4 years ago

tarasbilohan commented 4 years ago

Config example

module.exports = {
  pluginOptions: {
    s3Deploy: {
      ...
      deployPath: 'some-path-without-slash-on-start/',
      ...
    }
  }
}

Log

 INFO  Connection to S3 created.
 INFO  Deploying 20 assets from <hidden>/dist/ to https://s3-eu-west-2.amazonaws.com/<hidden>/
 INFO  (1/20) Uploaded undefinedjs/chunk-2714bc1b.6fcbdcb9.js
 INFO  (2/20) Uploaded undefinedjs/chunk-2714bc1b.6fcbdcb9.js.map
 INFO  (3/20) Uploaded undefinedjs/app.9b186333.js.map
 INFO  (4/20) Uploaded undefinedjs/chunk-vendors.81f86ec2.js
 INFO  (5/20) Uploaded undefinedjs/chunk-vendors.81f86ec2.js.map
 INFO  (6/20) Uploaded undefinedjs/app.9b186333.js
 ...
 INFO  (20/20) Uploaded undefinedindex.html
 INFO  Deployment complete.