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

chore: switch to rollup-plugin-data-files #130

Merged
merged 1 commit into from
Jan 21, 2021

Conversation

brandonocasey
Copy link
Contributor

Switch to rollup-plugin-data-files
This allows us to:

  1. Not have temporary files on disk
  2. Not have to worry about watching for changes on our own
  3. A standard plugin that we can use in mux.js, mpd-paser, @videojs/http-streaming, and anywhere else we need it.
  4. cuts down on custom code in the repo.

@@ -1,6 +1,6 @@
import QUnit from 'qunit';
import testDataExpected from './dist/test-expected.js';
import testDataManifests from './dist/test-manifests.js';
import testDataExpected from 'data-files!expecteds';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Use the plugin

@@ -1,4 +1,4 @@
{
module.exports = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Module.exports these objects as we should have been all along.

@brandonocasey brandonocasey changed the base branch from test/move-tests-around to main January 21, 2021 16:58
@brandonocasey brandonocasey force-pushed the rollup-plugin-data-files branch from 0724399 to f84e941 Compare January 21, 2021 16:59
@brandonocasey brandonocasey merged commit 373c261 into main Jan 21, 2021
@brandonocasey brandonocasey deleted the rollup-plugin-data-files branch January 21, 2021 17:01
miadabdi pushed a commit to miadabdi/m3u8-parser that referenced this pull request Jul 21, 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