Open dance2die opened 6 years ago
@dance2die This tutorial is about an older version of Rollup, unfortunately. However, I'd really appreciate a PR on the article to update that config! https://github.com/jlengstorf/code.lengstorf.com/blob/master/content/blog/learn-rollup-js.md
Thanks for reading and sending in feedback!
What's wrong?
The
rollup.config.js
in the tutorial is out of date.Error Steps
The tutorial, Rollup.js Tutorial, Part 1: How to Set Up Smaller, More Efficient JavaScript Bundling Using Rollup using the following configuration option fails
with following messages.
How to fix it
Rollup.JS documentation has a different format for the
rollup.config.js
and the following works for the tutorialWith the new configuration above,
Rollup Version
"rollup": "^0.57.1"