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

Allow minify skipping by file glob. #584

Merged
merged 2 commits into from
May 24, 2019

Conversation

Westbrook
Copy link

Allow JS files to be see as isInline === false so that they will skip the minifier.

When working with a Polymer 2 project that includes the Firebase and PolymerFire code, the minification processing delivers those projects with errors. This can be avoided by not minifying those files. With the updates to support Polymer 3, all files were being viewed as isInline and as such were not being tested for whether they should or shouldn't be minified. This corrects the code order so that files that are not isInline can be seen as such and can be tested for exclusion from the minification pipeline.

Fixes #279

@usergenic usergenic changed the base branch from master to exclude-minify May 24, 2019 19:36
@usergenic
Copy link
Contributor

@Westbrook merging this to a branch and updating goldens and adding regression test.

@usergenic usergenic merged commit a7cd140 into Polymer:exclude-minify May 24, 2019
@Westbrook
Copy link
Author

🙏 hope I was taking it in a good direction. Thanks for picking this up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants