Closed aminya closed 3 years ago
This issue does not follow the issue template, and as such will be closed.
@domenic There are no templates:
Follow this tutorial to learn how to make an issue template: https://joeprevite.com/github-issue-template
Sorry! I thought this was on the main jsdom repository.
Regardless, it's not clear what you're doing, besides posting a bunch of logs.
I added the reproduction steps. The issue is that this package import json files using commonjs and Rollup cannot handle it. It is worth keeping the issue open in case someone else tries to use tr46 or whatwg-url with Rollup.
I think you want to include the rollup json plugin to make this work.
It is already included in rollup-plugin-atomic
. But bumping rollup-common-js from v14 to v15 or v16 breaks bundling.
I could not find any clue in the changelogs of the plugin.
https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md
Anyway, we were planning to move away from Rollup to Parcel because of all of Rollup issues and their ignorance with respect to the community. Parcel bundles commonjs without any hassle out of the box. I just wanted to make this issue in case someone else faces this.
tr46 is not bundled with Rollup. It seems that the generated JSON file is not imported correctly.
Here is the reproduction: https://github.com/atom-ide-community/terminal/tree/rollup-bump