Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed options passing, since rollup@0.48 options.output is required #20

Closed
wants to merge 1 commit into from

Conversation

Andarist
Copy link

No description provided.

@lemmabit
Copy link
Owner

I haven't received any deprecation messages or anything. Is this really needed now? And is that whole weird rigmarole in the code necessary, or can users just change the way they use rollup-stream (disregarding semver, since with #19 there's no more hope of maintaining backwards compatibility anyway)?

Also, please don't mess with my whitespace. I'd appreciate it if you could remove your whitespace-only changes and squash it back into one commit, because I don't want all of that in the history. If you don't, I'll have to do it, which may mean steamrolling your authorship of the commit.

@Andarist
Copy link
Author

I see you have found the gist about the rollup's API changes :)

can users just change the way they use rollup-stream?

It sure is, but it would differ from rollup's and we couldnt use rollup's config files directly and I assume we want to support this.

Also, please don't mess with my whitespace.

Removed.

@Andarist
Copy link
Author

@Permutatrix any news on this?

@lemmabit
Copy link
Owner

I see. Rollup's config format has diverged from the JavaScript API. The changes don't seem to have anything to offer to rollup-stream, but you're right that rollup-stream is supposed to support the config format. It's also supposed to support the JavaScript API format, however, so we can't make output a required option. I may have to separate it into two functions.

I don't believe I want to implement this support in this way, so I'm going to close the PR. Thanks for submitting it anyway and for changing the whitespace as I asked. I'm going to look into making rollup/rollup#761 a reality.

@lemmabit lemmabit closed this Sep 19, 2017
@Andarist Andarist deleted the fix/options-passing branch September 19, 2017 23:36
@Andarist
Copy link
Author

What is next step? Could I help anyhow? Im using my fork at the moment, but would prefer using official release ;)

@lemmabit
Copy link
Owner

rollup/rollup#761 is what is needed to make support for the config format in tools like rollup-stream feasible, especially if I'm going to take the tack I intend to with v2.0.0. Rollup has been resistant to the idea in the past, so I think the most helpful thing you can do is show your support for it. I'm going to see about making a pull request. I'll make a comment here if and when I open one.

@Andarist
Copy link
Author

It would be helpful in bringing attention to the matter if you open new issue on their boards I think.

Do u plan to support old rollup versions? (Even if requested feature is added it obviously wont be available in older rollups)

@lemmabit
Copy link
Owner

It would be helpful in bringing attention to the matter if you open new issue on their boards I think.

I generally prefer to have one issue per issue. A PR ought to be visible enough.

Do u plan to support old rollup versions? (Even if requested feature is added it obviously wont be available in older rollups)

I've thought about this... I think people using old Rollups with old config files will just have to use old versions of rollup-stream. It's better than introducing some sort of glue for them right from the start that will have to stay in forever.

@Andarist
Copy link
Author

Just trolling around - there is no 'working' rollup-stream at the moment for 0.48, 0.49 and 0.50 🧌

@lemmabit
Copy link
Owner

As long as the config format doesn't change too much by the time 761 gets resolved, the consumer can just jury-rig something. Like this:

var rollup = require('rollup-stream')(Object.assign({}, require('rollup-next'), require('rollup')));

All they have to do is have two versions of Rollup installed.

ᕕ( ᐛ )ᕗ

@Andarist Andarist restored the fix/options-passing branch September 28, 2017 09:07
@Andarist Andarist deleted the fix/options-passing branch February 21, 2019 14:13
@Andarist Andarist restored the fix/options-passing branch February 21, 2019 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants