2 ms·
(rollupify author here.) It works if you configure Rollup to use a plugin like https://github.com/rollup/rollup-plugin-node-resolve https://github.com/rollup/ro
by nolanl 10y ago
(rollupify author here.) It works if you configure Rollup to use a plugin like https://github.com/rollup/rollup-plugin-node-resolve https://github.com/rollup/rollup-plugin-node-resolve, and it works best if the third-party packages also expose jsnext:main or the new "module" field in package.json.
Overall though there are still lots of edge cases that aren't well-covered without plugins (such as globals like process.nextTick etc.). Some details here: https://github.com/rollup/rollup/issues/552 https://github.com/rollup/rollup/issues/552