-
-
Notifications
You must be signed in to change notification settings - Fork 318
feat(rollup-plugin-html): include video and source assets #1008
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
base: master
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: c845409 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
abd8e46
to
c845409
Compare
const asset = getAsset(output, name); | ||
console.log(asset, name); | ||
expect(asset).to.exist; | ||
expect(asset.source).to.exist; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
console?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah just for debugging purposes, this test is failing in a very strange way, suddenly it cannot find the image-c asset as soon as I add image-d (poster attr for video). And I have no idea why 😭 I tried to play around with it and change stuff around but this bug keeps happening.
I think I need some help with this PR, I cannot figure out why the tests are failing. As soon as I add image-d (poster attr for video), suddenly it cannot find the image-c asset, and I can't figure out why it behaves that way :\ I kinda need this PR for my site which uses |
@jorenbroekema maybe this PR #1541 meets your needs for |
@gdbaldw yep, very nice. I still think this PR should be done at some point to make those tags work by default without needing to specify them manually, since they are native html tags that contain a reference to an asset, but I've given up making the flaky test work :P so your PR will at least enable me to extract those video assets |
No description provided.