Skip to content

Conversation

@rschristian
Copy link
Member

@rschristian rschristian commented Dec 28, 2020

What kind of change does this PR introduce?

Refactor

Did you add tests for your changes?

No

Summary

The issue is that there are two templates not like the others: the widgets. These two do not need template.html or sw.js copied over to them.

Does this PR introduce a breaking change?

No

Other information

One thing I'm not entirely sure of is adding this behavior by checking for "widget" in the repo name. Should this instead look to check the exact repo name so that a user who has "widget" in their repo title doesn't enable this behavior?

Edit: Waiting on preactjs-templates/widget-typescript#4, as it too would be affected

@rschristian rschristian requested a review from a team as a code owner December 28, 2020 02:09
@changeset-bot
Copy link

changeset-bot bot commented Dec 28, 2020

🦋 Changeset detected

Latest commit: 7a41b3d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
preact-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rschristian rschristian marked this pull request as draft December 28, 2020 02:09
@rschristian rschristian force-pushed the refactor/resourceCopying branch from df9d7b8 to 1580cb4 Compare December 28, 2020 06:37
@rschristian rschristian force-pushed the refactor/resourceCopying branch from 12d9b99 to 11519aa Compare May 26, 2021 01:24
@rschristian rschristian marked this pull request as ready for review November 13, 2021 07:05
@rschristian rschristian merged commit 0cfee78 into preactjs:master Nov 13, 2021
@rschristian rschristian deleted the refactor/resourceCopying branch November 13, 2021 07:11
@preact-bot preact-bot mentioned this pull request Nov 13, 2021
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