classList.js
classList.js copied to clipboard
No default export
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?