classList.js icon indicating copy to clipboard operation
classList.js copied to clipboard

No default export

Open binarykitchen opened this issue 8 years ago • 0 comments

When I am trying to bundle an app of mine with rollup, I get this error

$ rollup -c etc/rollup/dev.js -w 
bundling...
⚠️   'default' is not exported by 'node_modules/classlist.js/classList.js'
https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
commonjs-proxy:/home/michael-heuberger/code/videomail-client/node_modules/classlist.js/classList.js (1:155)
1: import * as classList from "/home/michael-heuberger/code/videomail-client/node_modules/classlist.js/classList.js"; export default ( classList && classList['default'] ) || classList;

looks like there is no default export for your library?

binarykitchen avatar May 24 '17 11:05 binarykitchen