Skip to content

Uglify issue with async-computed? #24

@dsl101

Description

@dsl101

When I try to build my Vue / Quasar app, I get this error during the build process:

ERROR in js/vendor.js from UglifyJs
Unexpected token: punc (() [js/vendor.js:62695,8]

That line is the get () definition in this function:

function makeLazyComputed (key) {
  return {
    get () {
      this[lazyActivePrefix + key] = true;
      return this[lazyDataPrefix + key]
    },
    set (value) {
      this[lazyDataPrefix + key] = value;
    }
  }
}

which I'm guessing is coming from the vue-async-computed module. Any idea why Uglify would object here? You'd mentioned before about Babel settings - perhaps something still isn't quite right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions