Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Doesn't work with [email protected] #220

Closed
vlad-zhukov opened this issue Aug 21, 2017 · 3 comments
Closed

Doesn't work with [email protected] #220

vlad-zhukov opened this issue Aug 21, 2017 · 3 comments

Comments

@vlad-zhukov
Copy link

No description provided.

@frzi
Copy link

frzi commented Aug 22, 2017

Error I get:

TypeError: Cannot read property 'slice' of undefined
    at startsWith (/project/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs.js:612:12)
    at resolveId (/project/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs.js:653:23)
    at Object.options (/project/node_modules/rollup-plugin-commonjs/dist/rollup-plugin-commonjs.cjs.js:711:27)
    at /project/node_modules/rollup/dist/rollup.js:9738:41
    at Array.reduce (<anonymous>)
    at new Bundle$$1 (/project/node_modules/rollup/dist/rollup.js:9737:25)
    at Object.rollup (/project/node_modules/rollup/dist/rollup.js:10532:16)
    at Object.<anonymous> (/project/rollup.tasks.js:107:10)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)

@cedx
Copy link

cedx commented Aug 22, 2017

On my side: this issue occurs only if I use input instead of entry in the Rollup config file. If I keep the old entry property, I get a warning ("options.entry is deprecated, use options.input") but the build succeeds.

@Rich-Harris
Copy link
Contributor

Fixed in 8.1.1 — thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants