-
Notifications
You must be signed in to change notification settings - Fork 331
missing sw-toolbox.js since 3.5 #228
Comments
Apologies—we've made some changes to our build/publishing process, and it does look like the bower end of things is not working as expected since v3.4.0. @gauntface, is there any accommodation in the current build process for getting the bundled (Or is Bower a lost cause at this point?) |
will talk a look at this today. Sorry for the issues :( |
If my understanding is correct. Bower will use the github releases to use as it's "download". The issue with this is that tagging a release will "tag" the source of the project, but the build file sw-toolbox.js is not included because it's in .gitignore. Going to see if there is a way around this, but I'm not hopeful. |
Yeah anything we do to fix this is going to be horrible. Sadly I'd vote dropping bower support (Addy is in favor of this) or we just allow build versions back in to master - this will allow it to be in a tag to include the required files. |
dropping bower support. see: GoogleChromeLabs/sw-toolbox#228
@e111077 I just noticed platinum-sw adding some commits related to this issue :) Do you know whether the plan is to continue using that anywhere? Over on Fizzle, we (incl Taylor) were of the opinion platinum-sw should be deprecated in favor of directly using sw-toolbox and sw-precache. Would us dropping Bower support here cause any issues for y'all? If so, we can probably keep supporting it for a while longer but are actively trying to focus on npm/yarn support as much as possible otherwise. |
We have decided to deprecate |
dropping bower support. see: GoogleChromeLabs/sw-toolbox#228
@addyosmani @jeffposnick shall we just commit the build to master? When I contested the build in master a long time ago, no one called out that bower was using it this way and it happened by chance to work with the old build process. This would at least get Bower running while we finish off sw-helpers. |
That sounds fine to me if that's all that it takes to make bower happy. |
Apologies for this issue; I've tagged v3.6.1 which includes the built library, so hopefully bower will be happy. It looks okay when I ran (@gauntface, I had to manually tag it in GitHub because the publish process won't complete due to GoogleChromeLabs/selenium-assistant#87) |
I install the
sw-toolbox
with bower and refer the pathbower_components/sw-toolbox/sw-toolbox.js
in myimportScripts
. However the file does not exists in the latest release. When I check the previous releases, the file exists in the3.4
, but has disappeared since3.5
.The text was updated successfully, but these errors were encountered: