You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be an issue with the new es module reconstruction feature in 17.0.0 #537.
Everything was working without issue initially, but when I tried to upgrade my npm dependencies including this plugin to 17.0.0, I started getting the following error in my browser:
Uncaught ReferenceError: exports is not defined
When looking at my bundle, the Object.defineProperty(exports, "__esModule", statements are no longer being compiled away for some reason.
I'm unsure if this is a bug, or just a configuration problem relating to the new feature being enabled by default? If it is just a configuration change that needs to be made with the update, it's probably worth documenting this somewhere.
The text was updated successfully, but these errors were encountered:
rsheasby
changed the title
Updating to @rollup/plugin-commonjs17.0.0 breaks svelte application
Updating to @rollup/[email protected] breaks svelte application
Jan 3, 2021
If you are sure this is a bug or documentation issue, please take the time to refile this issue using the issue template.
Hey there, thanks for opening an issue - Unfortunately you missed (or may have disregarded) the message about issue templates being required. Because our issue template was removed, we assume that this is a support request, and that's not something we offer here. Also, if you refile, please don't ignore Issue sections. They're in the template because they're useful to the maintainers of this project.
There seems to be an issue with the new es module reconstruction feature in 17.0.0 #537.
Everything was working without issue initially, but when I tried to upgrade my npm dependencies including this plugin to 17.0.0, I started getting the following error in my browser:
When looking at my bundle, the
Object.defineProperty(exports, "__esModule",
statements are no longer being compiled away for some reason.I'm unsure if this is a bug, or just a configuration problem relating to the new feature being enabled by default? If it is just a configuration change that needs to be made with the update, it's probably worth documenting this somewhere.
The text was updated successfully, but these errors were encountered: