Skip to content

rollupjs #3

@thepian

Description

@thepian

I'm not sure how to make this work when I use rollup to build. I'm using it to build SkateJS, and window-or-global is used somewhere in the bowels.

Users/Shared/Projects/ignore-all/node_modules/window-or-global/lib/index.js (4:3) The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten. See https://github.com/rollup/rollup/wiki/Troubleshooting#this-is-undefined for more information
Error: 'default' is not exported by Users/Shared/Projects/ignore-all/node_modules/window-or-global/lib/index.js (imported by Users/Shared/Projects/ignore-all/node_modules/skatejs/src/api/vdom.js). For help fixing this error see https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
at Module.trace (/Users/Shared/Projects/ignore-all/node_modules/rollup-stream/node_modules/rollup/src/Module.js:362:30)

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