-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Hi Rich. This project looks very exciting. I'm sold.
I have a question about pre-ES6 modules... I tried importing lodash as an experiment (today's lodash), and got this error:
Package lodash does not have a jsnext:main field, and so cannot be included in your rollup. Try adding it as an external module instead (e.g. options.external = ['lodash']
Is this a permanent design decision or is it just early days? Will you ever add functionality that can read an old-style main script and traverse require() calls...or do you recommend another strategy for people who want to mix ES6 and old school modules in one bundle (e.g. using Browserify as another build step after rollup)?