Skip to content

thrown error Vue.hasOwnProperty is not a function when using systemjs #290

@Bobrovskih

Description

@Bobrovskih

Hello, my project using SystemJS bundler, which under the hood it creates module via Object.create(null);
Used version rollup cannot handle this case.
When project loading vuescroll lib in runtime, it throws error Vue.hasOwnProperty is not a function, because Vue has not prototype.
I research this bug, and find systemjs issue, same problem with react.
systemjs/systemjs#2147

Rollup confirm bug and make fix release.
rollup/rollup#3420

Can you upgrade rollup version, which fixed, for vue 2 ?

Vue 2.6.14
Vuescroll 4.17.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions