Build directly from Github

Hi all,

I am struggling with a weird issue here with the build. The background is that we’re maintaining forks for some of the ProseMirror repos, and then we point the main app to the Github repo of our fork as NPM dependency.

But we’re running into issues when building the project on Windows. Here’s a really simple way to reproduce the problem:

On Linux or Mac:

mkdir test
cd test
npm init -y
npm install --save ProseMirror/prosemirror-view
wc -l node_modules/prosemirror-view/dist/index.js

Output: 4913

On Windows:

mkdir test
cd test
npm init -y
npm install --save ProseMirror/prosemirror-view
get-content .\node_modules\prosemirror-view\dist\index.js | measure-object -line

Output: 576

So on Windows lots of lines are missing. In fact, it looks like only the input src/index.js itself is included, but not its dependencies (such as src/browser.js).

I have no idea what might be causing this. Is this a problem with Rollup or the Rollup configuration? Something else? I would greatly appreciate any ideas.