-
Notifications
You must be signed in to change notification settings - Fork 515
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
feat(size): add sideEffects false to package.json #2861
Conversation
Why is this done? see <https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free> Long story short, modules can do crazy things, but if we don't do any polyfilling, we can opt into better behaviour fixes #2859 as good as we can for now
(this will only make a difference for users of webpack 4 by the way) |
Deploy preview for algolia-instantsearch ready! Built with commit 570992f https://deploy-preview-2861--algolia-instantsearch.netlify.com |
@oliviertassinari do you have any idea why this has an "empty" screenshot, did something get corrupted for "original"? |
Well that's super weird what happens with Argos. I have tested with the website and it seems to work. Let's merge :) |
The base screenshot on the develop branch might have been corrupted 🤔 . |
looks like that, since other PRs also broke @oliviertassinari |
<a name=2.7.0></a> # [2.7.0](v2.6.3...v2.7.0) (2018-04-09) ### Bug Fixes * pagination padding ([#2866](#2866)) ([e8c58cc](e8c58cc)) * **geosearch:** avoid reset map when it already moved ([#2870](#2870)) ([f171b8a](f171b8a)) * **removeWidget:** check for widgets.length on next tick ([#2831](#2831)) ([7e639d6](7e639d6)) ### Features * **connetConfigure:** add a connector to create a connector widget ([8fdf752](8fdf752)) * **routing:** provide a mechanism to synchronize the search ([#2829](#2829)) ([75b2ca3](75b2ca3)), closes [#2849](#2849) [#2849](#2849) * **size:** add sideEffects false to package.json ([#2861](#2861)) ([f5d1ab1](f5d1ab1)), closes [#2859](#2859)
Why is this done? see https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free
Long story short, modules can do crazy things, but if we don't do any polyfilling, we can opt into better behaviour
fixes #2859 as good as we can for now
technically depends on #2860 being merged before we release this PR, because it counts as a side-effect