Skip to content

UMD build "window is not defined" #1348

Closed
@randyhoulahan

Description

@randyhoulahan

Version

3.0.0-beta.11

Reproduction link

https://github.com/vuejs/vue-cli/issues/new

Steps to reproduce

Run UMD build component in nuxt or SRR

What is expected?

We should be able to :
module.exports = {
output: {
globalObject: 'typeof self !== 'undefined' ? self : this'
}
}
"Invalid options in vue.config.js: "output" is not allowed"

What is actually happening?

"Invalid options in vue.config.js: "output" is not allowed"
related to webpack bug toji/gl-matrix#311

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions