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

Removing babel-polyfill #268

Merged
merged 8 commits into from Mar 11, 2017
Merged

Removing babel-polyfill #268

merged 8 commits into from Mar 11, 2017

Conversation

KaseyPowers
Copy link
Contributor

Removing this to prevent core-js from always being added to projects

Copy link
Collaborator

@TheSharpieOne TheSharpieOne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to remove it from the tests so that it will test/ensure that the library can run without it. Otherwise we are just not including it as a dep and requiring the client to add it to their package.

Ref: https://github.com/Availity/availity-angular/blob/master/src/specs.js#L2

@robmcguinness
Copy link
Contributor

@KaseyPowers I removed the babel-polyfill from the specs.js and a lot of tests broke. Maybe we can try using availity-workflow-babel-preset like we do in availity-workflow for ES6 support.

@KaseyPowers
Copy link
Contributor Author

I think the removing of polyfill ended up being independent of the workflow v2 stuff so if you two aren't confident in that change It should be removable.

@@ -1,27 +1,4 @@
import 'angular-shims-placeholder';
import ngModule from '../module';

ngModule.requires.push('ng.shims.placeholder');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this even needed anymore?

@robmcguinness robmcguinness merged commit 4e6447e into master Mar 11, 2017
@robmcguinness robmcguinness deleted the feature/remove-polyfill branch March 16, 2017 17:53
@robmcguinness robmcguinness restored the feature/remove-polyfill branch March 16, 2017 17:53
@robmcguinness robmcguinness deleted the feature/remove-polyfill branch March 27, 2017 15:27
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

3 participants