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

feat: add inject(head|body) and minify options to safari10NoModuleFix #63

Merged

Conversation

despian
Copy link
Contributor

@despian despian commented Feb 15, 2020

  • maintains compatibility with the previous option format
  • minify defaults to false to maintain compatibility with old format

@despian
Copy link
Contributor Author

despian commented Feb 15, 2020

I'm using this plugin in a project which outputs a partial HTML file. So I needed the ability to insert the fix into the body, not in the head.

I also added a minification option because it seemed like a good idea.

Copy link
Owner

@DanielSchaffer DanielSchaffer left a comment

Choose a reason for hiding this comment

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

Overall, this looks great! Just a couple minor configuration things to fix. Thanks for your work here!

.gitignore Outdated Show resolved Hide resolved
src/babel.multi.target.options.ts Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
@despian despian force-pushed the feature/safarifix-inject-option branch from 72bd347 to eb9f417 Compare February 16, 2020 13:51
@DanielSchaffer DanielSchaffer merged commit 0fd5c05 into DanielSchaffer:develop Mar 10, 2020
@DanielSchaffer
Copy link
Owner

Available in prerelease v2.5.0-next.2

@DanielSchaffer DanielSchaffer mentioned this pull request Mar 10, 2020
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