Skip to content

Tweaked build setups - omit rollup warnings, annotate pure calls & more - #340

Merged
mattgperry merged 1 commit into
Popmotion:masterfrom
Andarist:tweaked-build
May 21, 2018
Merged

Tweaked build setups - omit rollup warnings, annotate pure calls & more#340
mattgperry merged 1 commit into
Popmotion:masterfrom
Andarist:tweaked-build

Conversation

@Andarist

Copy link
Copy Markdown
Contributor

Please review this carefully, I've done those changes quickly & I have no actual knowledge about this project (I have not yet used it, although I'm planning to 😉 ). As always - if something is unclear, please ask about it and I'll try my best to explain the change in question.

@mattgperry
mattgperry merged commit 4eef9cb into Popmotion:master May 21, 2018
@mattgperry

mattgperry commented May 21, 2018

Copy link
Copy Markdown
Collaborator

I've merged but gonna have to remove the postbuild step - as far as I can tell it just annotates the pure functions but uglify isn't run so I don't think this affects the output minified file? If we're to do this step it should be in the rollup.config.js

@mattgperry

Copy link
Copy Markdown
Collaborator

Oh I see this is more for when people consume it as a package? I'll leave it as is for now but will look into a rollup step further down the line to consolidate this logic

@mattgperry

Copy link
Copy Markdown
Collaborator

PS Thanks for the PR 😅

@Andarist
Andarist deleted the tweaked-build branch May 21, 2018 13:36
@Andarist

Copy link
Copy Markdown
Contributor Author

Oh I see this is more for when people consume it as a package?

Yeah, exactly 👍

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.

2 participants